LLVM/project 44b4cc6 — clang/lib/Frontend ChainedIncludesSource.cpp, clang/test/PCH chain-include-relative-path.c

[clang] Fix -chain-include with relative or non-canonical paths (#244269)

ChainedIncludesSource registers each intermediate PCH in the in-memory
module cache under "<include>.pch<N>", spelled exactly as on the command
line. But the PCH that imports it records the import's file name as an
absolute, canonical path (ASTWriter::PreparePathForOutput()), so the
final reader looks for a different name and fails with "PCH file '...'
not found" when the include path is relative, contains "." components,
or (on Windows) has mixed separators.

Register the buffer under the absolute, canonical name instead.
DeltaFile
+20-0clang/test/PCH/chain-include-relative-path.c
+7-4clang/lib/Frontend/ChainedIncludesSource.cpp
+27-42 files

LLVM/project 07bebe5 — llvm/test/CodeGen/AMDGPU addrspacecast-known-non-null-O0.ll

[NFC][AMDGPU] Add a test for casts of known non-null pointers at -O0

At -O0, SelectionDAG checks for null when it casts an alloca or an LDS global
to flat, but GlobalISel does not.

This PR was assisted by AI but I reviewed all the changes.
DeltaFile
+101-0llvm/test/CodeGen/AMDGPU/addrspacecast-known-non-null-O0.ll
+101-01 files

LLVM/project bc6c2ee — llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU addrspacecast-known-non-null-O0.ll

[AMDGPU] Pass the cast source to isKnownNonNull in lowerADDRSPACECAST

`lowerADDRSPACECAST` passes the cast node instead of its source to
`isKnownNonNull`. The cast node is never a frame index, a global address, or a
constant, so the check never succeeds, and SelectionDAG checks for null when it
casts an alloca or a global. At -O2 the `nonnull` flag that IR passes set on the
cast hides this, but at -O0 every such cast gets a compare and two selects. The
GlobalISel path already passes the source.

This PR was assisted by AI but I reviewed all the changes.
DeltaFile
+0-14llvm/test/CodeGen/AMDGPU/addrspacecast-known-non-null-O0.ll
+2-2llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2-162 files

LLVM/project 16721c9 — llvm/lib/Target/Hexagon HexagonPseudo.td HexagonDepTimingClasses.h

[Hexagon] Stable instruction itinerary names (#239302)

Currently, changes in instruction itineraries ("itins") produce a large
number of changes in td files. Moreover, changes in the td descriptions
cause original lines to get deleted and new ones added in a different
location in the file. This happens because the itin names use a hash of
their content to make them shorter and the definitions are sorted by
name. Another difficulty is that original itin content is not preserved,
which makes it impossible to know how the name was produced.

Instead, use the tag of one of the instructions that use the itin
as the itin's name. This will avoid most of the changes in td files
when itineraries change.

The resulting itin list was regenerated. This exposed a number of
inconsistencies that accumulated over time when manually updating itins
without a clear understanding of their content.

Below is the analysis of changes in itineraries. There were 345

    [82 lines not shown]
DeltaFile
+15,373-16,115llvm/lib/Target/Hexagon/HexagonDepIICScalar.td
+7,442-8,018llvm/lib/Target/Hexagon/HexagonDepIICHVX.td
+2,903-2,927llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td
+78-113llvm/lib/Target/Hexagon/HexagonDepTimingClasses.h
+5-5llvm/lib/Target/Hexagon/HexagonPseudo.td
+25,801-27,1785 files

LLVM/project b9ab6c1 — libcxx/test/configs llvm-libc++-android.cfg.in, libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members put_string_en_US.pass.cpp

[libc++][Android] Trim LIBCXX-ANDROID-FIXME comments
DeltaFile
+6-6libcxx/test/support/filesystem_test_helper.h
+6-6libcxx/test/configs/llvm-libc++-android.cfg.in
+2-4libcxx/test/std/utilities/format/format.functions/locale-specific_form.pass.cpp
+2-4libcxx/test/std/thread/thread.condition/thread.condition.condvar/notify_one.pass.cpp
+2-4libcxx/test/std/re/re.traits/translate_nocase.pass.cpp
+2-4libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_string_en_US.pass.cpp
+20-2844 files not shown
+94-18050 files

LLVM/project a940c40 — libcxx/test/configs llvm-libc++-android.cfg.in, libcxx/test/std/input.output/iostream.objects/wide.stream.objects wcin.sync_with_stdio.sh.cpp wcin.sh.cpp

[libc++][Android] Clean up pre-API-23 carveouts and document LIBCXX-ANDROID-FIXMEs

Due to updating the Android sysroot and compiler in previous upgrades, certain test configurations can be updated by switching them from `UNSUPPORTED` to `XFAIL` and dropping obsolete API carveouts. In addition, document root cause and resolutions for other `LIBCXX-ANDROID-FIXME`.

Assisted-by: Gemini
DeltaFile
+7-8libcxx/test/configs/llvm-libc++-android.cfg.in
+6-8libcxx/test/support/filesystem_test_helper.h
+5-3libcxx/test/std/re/re.traits/translate_nocase.pass.cpp
+5-3libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcin.sync_with_stdio.sh.cpp
+5-3libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcin.sh.cpp
+5-3libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcin.readmany.sh.cpp
+33-2853 files not shown
+208-11659 files

LLVM/project f575c55 — clang/lib/AST InferAlloc.cpp, clang/lib/CodeGen CGExpr.cpp

[Clang][AllocToken] Address post-merge review of placement-new inference (#243991)

Follow-up to #241548:

- Skip collecting placement news in C, which has none. Otherwise every
function with an untyped allocation call (`malloc(n)`) had its body
traversed for nothing.
- Drop the look-through of trivial copy/move constructors in a
variable's initializer. With guaranteed copy elision the initializer is
the call itself, so this only affected class-typed results before C++17,
and it was not tested.
- Test reassignment of a class-typed variable (an operator call), and
drop the compound assignment, increment and constructor-argument cases,
which add no coverage.
DeltaFile
+11-20clang/test/CodeGenCXX/alloc-token.cpp
+4-20clang/lib/AST/InferAlloc.cpp
+6-2clang/lib/CodeGen/CGExpr.cpp
+21-423 files

LLVM/project 7f9ef4e — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls systemz.ll ppc.ll

RuntimeLibcalls: Mark noreturn and pure helper libcalls

Mark the functions which never return as noreturn. Add some nounwind
and cold, mostly following inferLibFuncAttributes. Mark
misc. functions as pure.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+45-22llvm/include/llvm/IR/RuntimeLibcalls.td
+15-10llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+12-8llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+9-6llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+9-6llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+6-4llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+96-569 files not shown
+138-8415 files

LLVM/project efa30b1 — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls systemz.ll bsd.ll

RuntimeLibcalls: Add attributes inferLibFuncAttributes gives libcalls

Remove more differences with the attributes the InferFunctionAttrs
pass would add to the declared libcalls.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+88-77llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+71-63llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+67-59llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+57-51llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+63-14llvm/include/llvm/IR/RuntimeLibcalls.td
+40-36llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+386-30019 files not shown
+700-56825 files

FreeBSD/src 8651589 — usr.sbin/bhyve bhyve.8, usr.sbin/bhyvectl bhyvectl.8

bhyve.8: mention VM nodes in /dev/vmm

Currently, VM nodes in /dev/vmm are only described in the
EXAMPLES section of bhyvectl.8. Add a FILES section to bhyve.8
to make this information easier to find.

Update the bhyvectl.8 example to say "Existing VMs"
instead of "Running VMs" as the VMs listed in /dev/vmm
are not necessarily running.

Update bhyvectl.8 to refer to vmm(4).

Reviewed by:    ziaee
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D61623
DeltaFile
+3-2usr.sbin/bhyvectl/bhyvectl.8
+5-0usr.sbin/bhyve/bhyve.8
+8-22 files

NetBSD/src jRk8WyF — usr.sbin/npf/npftest/libnpftest npf_ext_test.c

   use ret from raw test case in verbose to see return value

   and then tests can reach normalization tests for in flight packet testing.

   more in flight packets tests for routing and possibly logging soon
VersionDeltaFile
1.7+0-2usr.sbin/npf/npftest/libnpftest/npf_ext_test.c
+0-21 files

FreeBSD/src 457873b — tests/sys/pmc pmc_rdpmc_test.c pmc_ss_test.c

tests/sys/pmc: Skip pmc_ss and getmsr_refusals without a hardware PMC

In a guest without a PMU, hwpmc(4) registers only the SOFT class, but
the "instructions" alias still resolves from the pmu-events tables, so
pmc_allocate() fails with EINVAL.  pmc_ss_test checked only the alias
and getmsr_refusals required the allocation, so both failed in CI
instead of skipping.

Probe the allocation the tests make and skip if it fails, as
rdpmc_reads_own_counter already does.

PR:             300856 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300856)
Reported by:    ngie
Reviewed by:    mhorne, ngie
Fixes:          d546356523f3 ("tests/sys/pmc: add PERF, RDPMC, row, sampling and unload tests")
Sponsored by:   Advanced Micro Devices, Inc.
Signed-off-by:  Osvaldo Janeri Filho <ojanerif at amd.com>
Differential Revision:  https://reviews.freebsd.org/D61689
DeltaFile
+8-4tests/sys/pmc/pmc_ss_test.c
+3-1tests/sys/pmc/pmc_rdpmc_test.c
+11-52 files

FreeBSD/src 1768d48 — sys/dev/hwpmc hwpmc_amd.c

hwpmc: keep AMD UMC counters from saturating

UMC counters saturate at 2^48 instead of wrapping, after about a day
and a half of memory clock cycles.  Clear bit 47 on a read once it is
set and count the carries in the per-CPU overflow count of the PMC,
like the arm64 and armv7 drivers do for their 32-bit counters.

Reviewed by:    mhorne
Sponsored by:   Advanced Micro Devices, Inc.
Signed-off-by:  Osvaldo Janeri Filho <ojanerif at amd.com>
Differential Revision:  https://reviews.freebsd.org/D60771
DeltaFile
+21-3sys/dev/hwpmc/hwpmc_amd.c
+21-31 files

LLVM/project b995ccc — llvm/test/Transforms/AtomicExpand/X86 expand-atomic-non-integer.ll

update tests
DeltaFile
+24-24llvm/test/Transforms/AtomicExpand/X86/expand-atomic-non-integer.ll
+24-241 files

LLVM/project 4e93ceb — llvm/test/Transforms/Util/DeclareRuntimeLibcalls systemz.ll sparc.ll

Drop captures(none) from element unordered atomic memory libcalls
DeltaFile
+75-75llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+60-60llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+45-45llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+45-45llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+30-30llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+30-30llvm/test/Transforms/Util/DeclareRuntimeLibcalls/sparc.ll
+285-28511 files not shown
+484-48517 files

LLVM/project 58211fd — llvm/test/Transforms/Util/DeclareRuntimeLibcalls systemz.ll sparc.ll

Add noalias to __llvm_memcpy_element_unordered_atomic
DeltaFile
+25-25llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+20-20llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+15-15llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+15-15llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+10-10llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+10-10llvm/test/Transforms/Util/DeclareRuntimeLibcalls/sparc.ll
+95-9511 files not shown
+163-16217 files

LLVM/project 0c09484 — llvm/test/Transforms/Util/DeclareRuntimeLibcalls systemz.ll sparc.ll

RuntimeLibcalls: Add attributes to atomic libcalls

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+1,155-1,145llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+524-516llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+393-387llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+393-387llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+262-258llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+262-258llvm/test/Transforms/Util/DeclareRuntimeLibcalls/sparc.ll
+2,989-2,95121 files not shown
+4,913-4,81027 files

LLVM/project 589c149 — llvm/lib/Target/SPIRV SPIRVOptions.td SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-declare-untyped-variable.ll

[SPIRV] Add flag to allow OpUntypedVariableKHR in DebugDeclare

NonSemantic.Shader.DebugInfo requires DebugDeclare's Variable operand to be
an OpVariable, so accepting an OpUntypedVariableKHR is not allowed.
Add -spirv-debug-declare-untyped-variable, off by default, to allow it.
DeltaFile
+39-0llvm/test/CodeGen/SPIRV/debug-info/debug-declare-untyped-variable.ll
+9-5llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+2-0llvm/lib/Target/SPIRV/SPIRVOptions.td
+50-53 files

LLVM/project f7639d8 — lldb/source/API SBBreakpoint.cpp, lldb/unittests/API CMakeLists.txt SBBreakpointTest.cpp

[lldb] Fix SBBreakpointList::AppendIfUnique never appending (#244275)

The check has been inverted since 01f166647195.

Assisted-by: Claude
DeltaFile
+35-0lldb/unittests/API/SBBreakpointTest.cpp
+1-1lldb/source/API/SBBreakpoint.cpp
+1-0lldb/unittests/API/CMakeLists.txt
+37-13 files

LLVM/project 0fdce91 — llvm/lib/Target/X86 X86TargetTransformInfo.cpp, llvm/test/Analysis/CostModel/X86 shuffle-variable.ll

[CostModel][X86] Add initial @llvm.vector.shuffle costs tables (#244280)

Still working on llvm-mca testing (especially for index types of
different bitwidths), but this touches the simple 128-bit
PSHUFB/VPERMILP cases
DeltaFile
+76-59llvm/test/Analysis/CostModel/X86/shuffle-variable.ll
+8-0llvm/lib/Target/X86/X86TargetTransformInfo.cpp
+84-592 files

LLVM/project 51ddf15 — llvm/test/CodeGen/AMDGPU rewrite-vgpr-mfma-to-agpr-reserved-wwm-vgpr.mir rewrite-vgpr-mfma-to-agpr-reserved-wwm-vgpr.ll

[AMDGPU] Make the reserved WWM VGPR tests exercise their scenario again (#241452)

Since #206739, rewrite-vgpr-mfma-to-agpr-reserved-wwm-vgpr.ll has no
SGPR
spill lanes and no VGPR spill slot, so it no longer checks that
AMDGPURewriteAGPRCopyMFMA keeps away from the reserved WWM VGPR.

- The IR test forces the scenario with inline asm clobbers and pinned
register
budgets. Its checks are hand-written and the update scripts skip it, so
it
  fails if the scenario is lost.
- A new MIR test runs only the passes involved, with greedy and basic.
An
AGPR-only copy of the MFMA result fixes the scenario for any allocator,
so
its checks are autogenerated. A blind regeneration loses the scenario
only
if AMDGPURewriteAGPRCopyMFMA stops rewriting the MFMA; the IR test still

    [8 lines not shown]
DeltaFile
+41-281llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-reserved-wwm-vgpr.ll
+87-0llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-reserved-wwm-vgpr.mir
+128-2812 files

LLVM/project 650bfa5 — llvm/lib/Transforms/IPO ElimAvailExtern.cpp

Fold avail_extern_to_local into Convert

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+4-3llvm/lib/Transforms/IPO/ElimAvailExtern.cpp
+4-31 files

LLVM/project 2511e15 — llvm/lib/Transforms/IPO ElimAvailExtern.cpp

EliminateAvailableExternally: Preserve the function analysis manager proxy

Previously all cached function analyses were cleared When only
deleting function bodies, clear the analyses of those functions and
preserve the proxy.

CTMark instructions:u geomean: O3 -0.02% (kimwitu++ -0.12%, tramp3d-v4
-0.12%), ThinLTO -0.01%.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+19-6llvm/lib/Transforms/IPO/ElimAvailExtern.cpp
+19-61 files

LLVM/project dc4d5ca — llvm/include/llvm/Transforms/Scalar JumpThreading.h, llvm/lib/Transforms/Scalar JumpThreading.cpp

JumpThreading: Register cloned assumptions in the assumption cache (#244022)

JumpThreading clones assumes when threading blocks, but did not add the
clones to the assumption cache, leaving it stale after the pass.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+26-0llvm/test/Transforms/JumpThreading/assume-cache-cloned.ll
+13-0llvm/lib/Transforms/Scalar/JumpThreading.cpp
+2-0llvm/include/llvm/Transforms/Scalar/JumpThreading.h
+41-03 files

FreeBSD/src ed4bad7 — usr.sbin/bhyve bhyve.8

bhyve.8: mention config files for VM parameters

Mention that virtual CPUs, memory and other options can be configured
with a configuration file, and refer to the -k option.

Reviewed by:    ziaee
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D61718
DeltaFile
+4-2usr.sbin/bhyve/bhyve.8
+4-21 files

FreeNAS/freenas 4f3f810 — src/middlewared/middlewared/api/v27_1_0 s3.py, src/middlewared/middlewared/api/v28_0_0 s3.py

Let an S3 grant list its actions

The S3 service now serves bucket policies, which compile to grant rows
that can list exact actions instead of a preset. Accept that in the
API: a grant's access is a preset or a list of the actions READWRITE
allows. The service refuses its whole config over any other name, so
owner-only actions like releasing a legal hold are refused here first.
The 28.0 and 27.1 APIs take a list; 27.0 clients see one as the
smallest preset that covers it.

Render a list into policies.conf comma-separated, add the three policy
actions to audit masks and audit events, and add the Object Lock
fields the audit parser now keeps: bypass, lock_mode, retain_until,
legal_hold and obj_vers.
DeltaFile
+54-2src/middlewared/middlewared/api/v27_1_0/s3.py
+32-2src/middlewared/middlewared/api/v28_0_0/s3.py
+28-0tests/sharing_protocols/s3/test_s3_grants.py
+21-5src/middlewared/middlewared/plugins/audit/schema/s3.py
+3-3src/middlewared/middlewared/test/integration/assets/s3.py
+5-1src/middlewared/middlewared/plugins/truenas_s3/grants.py
+143-131 files not shown
+147-137 files

LLVM/project 1c525b2 — llvm/lib/Target/SPIRV SPIRVOptions.td SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-declare-untyped-variable.ll

[SPIRV] Add flag to allow OpUntypedVariableKHR in DebugDeclare

NonSemantic.Shader.DebugInfo requires DebugDeclare's Variable operand to be
an OpVariable, so accepting an OpUntypedVariableKHR is not allowed.
Add -spirv-debug-declare-untyped-variable, off by default, to allow it.
DeltaFile
+39-0llvm/test/CodeGen/SPIRV/debug-info/debug-declare-untyped-variable.ll
+9-5llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+2-0llvm/lib/Target/SPIRV/SPIRVOptions.td
+50-53 files

FreeBSD/ports da3d26f — java/jd-gui-duo Makefile distinfo

java/jd-gui-duo: Update 2.0.116 => 2.0.117

Changelog:
https://github.com/nbauma109/jd-gui-duo/releases/tag/2.0.117

Commit log:
https://github.com/nbauma109/jd-gui-duo/compare/2.0.116...2.0.117

Sponsored by:   UNIS Labs
DeltaFile
+12-12java/jd-gui-duo/pkg-plist
+5-5java/jd-gui-duo/distinfo
+1-1java/jd-gui-duo/Makefile
+18-183 files

LLVM/project 8d0e203 — llvm/include/llvm/CodeGen Analysis.h, llvm/lib/CodeGen Analysis.cpp

DAG: Move the atomicrmw to ISD opcode mapping into a helper (#244273)

Add getAtomicRMWOpcode next to getICmpCondCode so the mapping can be
reused outside of SelectionDAGBuilder.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+53-0llvm/lib/CodeGen/Analysis.cpp
+1-43llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+3-0llvm/include/llvm/CodeGen/Analysis.h
+57-433 files

LLVM/project f0f6c97 — libcxx/utils/libcxx/sym_check extract.py

[libc++] Handle IFUNC symbols in the ABI list script (#243354)

GNU readelf only prints `IFUNC` for libraries marked as GNU, and the
Android
library is marked as `UNIX - System V`, so readelf `prints <OS
specific>: 10` instead.
This causes the ABI script to fail for `IFUNC` on Android because it
expects the
symbol type to be a single word. Map `<OS specific>: 10` to `IFUNC` then
record
`IFUNC` symbols as `FUNC` since callers do not see them differently.

Link: https://github.com/llvm/llvm-project/pull/215813
Assisted-by: Gemini
DeltaFile
+10-1libcxx/utils/libcxx/sym_check/extract.py
+10-11 files