LLVM/project 6101f11 — llvm/lib/CodeGen/SelectionDAG LegalizeDAG.cpp, llvm/test/Transforms/Util/DeclareRuntimeLibcalls systemz.ll ppc.ll

RuntimeLibcalls: Add __sync_synchronize (#245986)

Fix hardcoding a function name and not going through
RuntimeLibcallsInfo.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+3-13llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+5-0llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+4-0llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+3-0llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+3-0llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+2-0llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+20-1311 files not shown
+37-1317 files

LLVM/project 765cd7a — clang/utils/TableGen ClangBuiltinTraitsEmitter.cpp

[clang][TableGen] suppress macro emission when trait spelling is empty (#246180)

Trait definitions in BuiltinTraits.td can have an empty associated
`Spelling`. This makes them internal traits that do not map to a builtin
recognized by the parser. This is still useful, since it allows us to
map a standard library spelling (such as
`std::is_trivially_copy_constructible`) to an internal-use trait and
reuse existing machinery for more detailed diagnostics.

Currently we only have one such trait `IsDeducible`. All of the current
uses of the macros generated from BuiltinTraits.td define the
`TYPE_TRAIT*` macros roughly like this
```cpp
#define TYPE_TRAIT_1(Spelling, Name, Key)                                      \
  case tok::kw_##Spelling:                                                     \
    /* ... */
#define TYPE_TRAIT_2(Spelling, Name, Key)                                      \
  case tok::kw_##Spelling:                                                     \
    /* ... */

    [12 lines not shown]
DeltaFile
+4-2clang/utils/TableGen/ClangBuiltinTraitsEmitter.cpp
+4-21 files

LLVM/project 66521f9 — clang/www cxx_status.html

[Clang][NFC] Add the list of C++ papers approved by WG21 at the Búzios 2026-11 meeting (#246574)

This adds the CWG motions approved by WG21 at the Búzios 2026-11
meeting, except for wording-only papers where no implementation is
needed.

Some papers apply to C++29, and some apply to C++26. This is because
changes to the C++26 DIS (Draft of International Standard) have been
approved, while work on the C++29 Working Draft continues.
DeltaFile
+27-0clang/www/cxx_status.html
+27-01 files

LLVM/project 6e5fbdf — .github/workflows compile-time.yml

[CI] Support stacked PRs in compile-time job (#243940)

Allow /compile-time on PRs that target a branch other than main, such as
stacked PRs. The base branch is pushed as one commit on top of its merge
base with main and the PR goes on top of that commit, so the PR can be
compared against the branch it is based on. The base commit has a fixed
author, date and message so reruns reuse its results. PRs to release
branches are still rejected.

Assisted-By: Claude Code Opus 5.5
DeltaFile
+49-7.github/workflows/compile-time.yml
+49-71 files

LLVM/project 2e6a92a — llvm/lib/Transforms/Vectorize VPlanLowering.cpp, llvm/test/Transforms/LoopVectorize optsize.ll first-order-recurrence-tail-folding.ll

[VPlan] Compute last active lane of the header mask from the IV. (#243795)

After the last vector iteration, the last active lane of the header mask
is BTC - CanonicalIV. Use it instead of the generic LastActiveLane
lowering. If the header mask has no other users, it is not materialized.

The epilogue offsets the canonical IV, which the new Sub needs, so allow
Sub users there.

PR: https://github.com/llvm/llvm-project/pull/243795
DeltaFile
+399-0llvm/test/Transforms/LoopVectorize/VPlan/tail-folding-last-active-lane.ll
+43-158llvm/test/Transforms/LoopVectorize/first-order-recurrence-tail-folding.ll
+26-74llvm/test/Transforms/LoopVectorize/AArch64/sve-wide-mask-outside-use.ll
+38-10llvm/lib/Transforms/Vectorize/VPlanLowering.cpp
+30-12llvm/test/Transforms/LoopVectorize/X86/fold-tail-low-trip-count.ll
+15-25llvm/test/Transforms/LoopVectorize/optsize.ll
+551-27913 files not shown
+613-38719 files

LLVM/project be271f4 — .github new-prs-labeler.yml

[GitHub][SSAF] Add SSAF tools to the PR labeller (#246844)

I wondered why did #246763 not label this.
Well, because it was not spelled here.
DeltaFile
+4-0.github/new-prs-labeler.yml
+4-01 files

LLVM/project b5908a8 — llvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU waitcnt-vavdst-exec.mir

[AMDGPU] Assume nonzero EXEC at kernel entry for VA_VDST

Waves are launched with at least one active lane, so in a kernel EXEC
can only become zero at an EXEC write that may produce zero. Until such
a write, VALUs after an always-issued VALU are issued as well and may
credit its accesses as VA_VDST successors.

Track this per bracket. It starts set in entry functions, is cleared by
EXEC writes that may produce zero, and merges by intersection. Blocks of
an entry function propagate their state even with no pending events, so
a cleared fact reaches every merge.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+19-2llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+3-3llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-exec.mir
+22-52 files

LLVM/project 51b0006 — llvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU expert_scheduling_gfx12.mir waitcnt-vavdst-exec.mir

[AMDGPU] Stop crediting skippable VALUs as VA_VDST successors

When EXEC is zero most VALUs are skipped and never increment VA_VDST,
but lane accesses, V_NOP, VALUs that write an SGPR, VCC or NULL, and
WMMA/SWMMAC are still issued. A skipped VALU therefore must not count as
a successor of a pending access that was issued, which happens across
EXEC writes and after these always-issued VALUs.

Mark pending accesses at EXEC writes, and the accesses of always-issued
VALUs. A marked access keeps the count it had already earned and is
otherwise credited only by later always-issued VALUs and ordered XDL
writes. A later skippable access to the same register does not clear
the mark. Partial waits keep unsatisfied marked accesses pending, and
merges take the smaller count.

Assisted-by: Claude
DeltaFile
+178-22llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+33-31llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-exec.mir
+2-2llvm/test/CodeGen/AMDGPU/expert_scheduling_gfx12.mir
+213-553 files

LLVM/project 8c35445 — llvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU waitcnt-vavdst-exec.mir

[AMDGPU] Ignore EXEC writes that cannot zero EXEC for VA_VDST

Only an EXEC write that may produce zero can cause later VALUs to be
skipped. Moves of a nonzero immediate, ORs and WQMs of EXEC, and
S_OR_SAVEEXEC keep a nonzero EXEC nonzero, so pending VA_VDST accesses
keep their credit across them.

Assisted-by: Claude
DeltaFile
+29-2llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+4-4llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-exec.mir
+33-62 files

LLVM/project bbf139e — llvm/test/CodeGen/AMDGPU expert_scheduling_gfx12.mir waitcnt-vavdst-exec.mir

[AMDGPU] Precommit tests for VA_VDST across EXEC writes

Record current waitcnt behavior for VALU dependencies across EXEC writes.

Assisted-by: Claude
DeltaFile
+1,225-0llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-exec.mir
+78-0llvm/test/CodeGen/AMDGPU/expert_scheduling_gfx12.mir
+1,303-02 files

LLVM/project 8b206fd — llvm/lib/Target/AMDGPU AMDGPULegalizerInfo.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-merge-values.mir

[AMDGPU][GlobalISel] Legalize G_MERGE_VALUES/G_UNMERGE_VALUES wider than max scalar

Treat a merge/unmerge whose combined type is wider than the largest
scalar as legal when each piece is already a legal register type.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+12-0llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir
+6-0llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+18-02 files

LLVM/project 3899c6e — llvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU waitcnt-vavdst-exec.mir

[AMDGPU] Assume nonzero EXEC at kernel entry for VA_VDST

Waves are launched with at least one active lane, so in a kernel EXEC
can only become zero at an EXEC write that may produce zero. Until such
a write, VALUs after an always-issued VALU are issued as well and may
credit its accesses as VA_VDST successors.

Track this per bracket. It starts set in entry functions, is cleared by
EXEC writes that may produce zero, and merges by intersection. Blocks of
an entry function propagate their state even with no pending events, so
a cleared fact reaches every merge.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+19-2llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+3-3llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-exec.mir
+22-52 files

LLVM/project 18ae229 — llvm/test/CodeGen/AMDGPU waitcnt-vavdst-exec.mir

[AMDGPU][NFC] Precommit tests for VA_VDST in kernels with nonzero EXEC

Record current waitcnt behavior for always-issued VALUs in kernels,
with and without EXEC writes before them.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+203-0llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-exec.mir
+203-01 files

LLVM/project f496863 — llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/test/CodeGen/AArch64 vector-compress.ll

[SDAG] Simplify expandVECTOR_COMPRESS (#246657)

Simplifies expandVECTOR_COMPRESS to select between the load and the
passthrough at the end (rather than storing the passthrough first). This
seems to result in more compact code on AArch64/X86.
DeltaFile
+2,567-2,884llvm/test/CodeGen/X86/vector-compress.ll
+80-102llvm/test/CodeGen/AArch64/vector-compress.ll
+22-59llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+2,669-3,0453 files

LLVM/project 1d1eb39 — llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.cpp

[SandboxVec][LoadStoreVec] Vectorize store chains whose loads have external uses

Loads that feed a store chain used to block vectorization whenever they
had more than one use. The store chain can now be vectorized even if the
loads have external uses. Once the scalar stores are erased, each
original load is rebuilt from the lanes it occupies in the new vector
load, and reinterpreted back to its original type if needed.

The legality check, canUnpack(), runs before any IR is created, so a load
whose lanes cannot be reinterpreted (for example, a non-integral pointer)
rejects the whole chain instead of leaving a partially rewritten block.
The unpacking itself is done by unpackIfNeeded() after the scalar stores
have been removed.

Update the store_seeds.ll and mixed_types.ll checks to match the new
output.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+119-100llvm/test/Transforms/SandboxVectorizer/Passes/LoadStoreVec/mixed_types.ll
+33-19llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+8-14llvm/test/Transforms/SandboxVectorizer/Passes/LoadStoreVec/store_seeds.ll
+6-3llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.h
+166-1364 files

LLVM/project fd896df — llvm/lib/CodeGen CodeGenPrepare.cpp, llvm/test/CodeGen/X86 gather-scatter-sink-gep.ll

[CodeGenPrepare] Sink GEPs of gathers/scatters into the access block (#242746)

[CodeGenPrepare] Sink GEPs of gathers/scatters into the access block
SelectionDAGBuilder::getUniformBase only looks through a GEP defined in
the same block as the gather/scatter, since SelectionDAG is built one
block at a time. optimizeGatherScatterInst canonicalized such GEPs into
the "scalar base + vector index" form, but bailed out if the GEP was in
another block, with a FIXME to sink it instead.

This depends on https://github.com/llvm/llvm-project/pull/242745 where
the tests are precommitted.

This is common after LICM hoists a loop-invariant vector GEP out of a
loop, or after GVN shares a GEP between accesses to different fields of
a
vector of structs. The address is then materialized as a vector of
pointers in the defining block, kept live across the loop, and the
gathers/scatters use it with a zero base. E.g. on x86 each field gets a
vector of 64-bit pointers in the preheader, and AVX2 splits each gather

    [41 lines not shown]
DeltaFile
+47-83llvm/test/CodeGen/X86/gather-scatter-sink-gep.ll
+105-21llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-sink-gep.ll
+52-13llvm/lib/CodeGen/CodeGenPrepare.cpp
+2-2llvm/test/Transforms/CodeGenPrepare/AArch64/sink-gather-scatter-addressing.ll
+206-1194 files

LLVM/project 9462a68 — llvm/include/llvm/MC MCAsmInfo.h, llvm/lib/MC MCAsmInfo.cpp

[spr] initial version

Created using spr 2.0.0-beta.2
DeltaFile
+6-15llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
+4-11llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
+12-3llvm/include/llvm/MC/MCAsmInfo.h
+15-0llvm/lib/MC/MCAsmInfo.cpp
+0-3llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h
+0-3llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.h
+37-356 files

LLVM/project 8e4c0b6 — llvm/include/llvm/MC MCAsmInfo.h, llvm/lib/MC MCAsmInfo.cpp

[spr] initial version

Created using spr 2.0.0-beta.2
DeltaFile
+10-8llvm/include/llvm/MC/MCAsmInfo.h
+2-5llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
+2-5llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
+7-0llvm/lib/MC/MCAsmInfo.cpp
+0-1llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.h
+0-1llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.h
+21-206 files

LLVM/project b2192b4 — llvm/include/llvm/MC MCAsmInfo.h, llvm/lib/MC MCAsmInfo.cpp

[spr] initial version

Created using spr 2.0.0-beta.2
DeltaFile
+7-4llvm/include/llvm/MC/MCAsmInfo.h
+1-9llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp
+5-1llvm/lib/MC/MCAsmInfo.cpp
+0-2llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.h
+13-164 files

LLVM/project d992413 — llvm/lib/Target/AArch64/MCTargetDesc AArch64MCAsmInfo.cpp, llvm/lib/Target/ARM/MCTargetDesc ARMMCAsmInfo.h

[MC][NFC] Replace MCAsmInfo::evaluateAsRelocatableImpl with func ptr (#246744)

Avoid a virtual function by using a function pointer for evaluating
specifier exprs. Saves ~400B of .data.rel.ro.
DeltaFile
+28-32llvm/lib/Target/AVR/MCTargetDesc/AVRMCAsmInfo.cpp
+24-33llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
+4-20llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
+0-17llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.h
+7-9llvm/lib/Target/VE/MCTargetDesc/VEMCAsmInfo.cpp
+7-8llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp
+70-11910 files not shown
+84-15416 files

LLVM/project 394a633 — lld/ELF InputFiles.cpp

[lld][AMDGPU] Remove r600 bitcode handling

Remove the r600 case from `getBitcodeMachineKind`, since the r600
target is being removed and lld never linked R600 objects.

RFC: https://discourse.llvm.org/t/rfc-amdgpu-deprecating-and-removing-llvm-s-r600-terascale-backend/92840
DeltaFile
+0-1lld/ELF/InputFiles.cpp
+0-11 files

LLVM/project 027d8b2 — clang/docs UsersManual.md, clang/include/clang/Basic BuiltinsAMDGPUDocs.td BuiltinsAMDGPU.td

[Clang][AMDGPU] Remove R600 target support

Remove the r600 triple from the clang frontend, driver and CodeGen,
together with the `__R600__` macro and the `__builtin_r600_*` builtins.
AMDGPUTargetInfo now only handles amdgcn, so the R600 branches are gone.

```
$ clang --target=r600 -S test.cl
error: unknown target triple 'r600'
```

RFC: https://discourse.llvm.org/t/rfc-amdgpu-deprecating-and-removing-llvm-s-r600-terascale-backend/92840
DeltaFile
+41-68clang/lib/Basic/Targets/AMDGPU.h
+6-17clang/lib/Basic/Targets/AMDGPU.cpp
+0-17clang/include/clang/Basic/BuiltinsAMDGPU.td
+0-6clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
+0-6clang/docs/UsersManual.md
+3-3clang/include/clang/Basic/BuiltinsAMDGPUDocs.td
+50-11710 files not shown
+54-13016 files

LLVM/project 8ab6d0c — clang/lib/Basic/Targets AMDGPU.h AMDGPU.cpp

[Clang][AMDGPU] Remove redundant isAMDGCN checks. NFC

After the r600 target removal, AMDGPUTargetInfo is only created for
the amdgcn triple, so every `isAMDGCN()` check in it is always true.
Drop those checks and the helpers that only wrapped them.

```
if (hasFMAF())
  Builder.defineMacro("__HAS_FMAF__");
  -->
Builder.defineMacro("__HAS_FMAF__");
```

RFC: https://discourse.llvm.org/t/rfc-amdgpu-deprecating-and-removing-llvm-s-r600-terascale-backend/92840
DeltaFile
+15-22clang/lib/Basic/Targets/AMDGPU.cpp
+5-25clang/lib/Basic/Targets/AMDGPU.h
+20-472 files

LLVM/project cb363de — clang/lib/CIR/CodeGen CIRGenBuiltin.cpp CIRGenBuiltinAMDGPU.cpp

[CIR][AMDGPU] Remove R600 builtin handling. NFC

Remove the r600 triple case and the `__builtin_r600_recipsqrt_ieee*`
cases. CIR never implemented them, and they now fall through to the
`default` NYI path.

RFC: https://discourse.llvm.org/t/rfc-amdgpu-deprecating-and-removing-llvm-s-r600-terascale-backend/92840
DeltaFile
+0-7clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+0-1clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+0-82 files

LLVM/project a6321f2 — clang/tools/clang-diff CMakeLists.txt Opts.td, llvm/utils/gn/secondary/clang/tools/clang-diff BUILD.gn

[clang-diff] Switch to OptTable (#246766)

Parse the command line with OptTable instead of cl::opt, as part of
removing cl::opt from clang/. Help output uses the OptTable format, and
LLVM's global options (e.g. -debug-only, --version) are no longer
accepted.

LLM-aided
DeltaFile
+54-49clang/tools/clang-diff/ClangDiff.cpp
+19-0clang/tools/clang-diff/Opts.td
+11-0utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+9-0llvm/utils/gn/secondary/clang/tools/clang-diff/BUILD.gn
+8-0clang/tools/clang-diff/CMakeLists.txt
+101-495 files

LLVM/project 071b3c9 — llvm/lib/Target/AVR/MCTargetDesc AVRMCAsmInfo.cpp

revert

Created using spr 2.0.0-beta.2
DeltaFile
+28-30llvm/lib/Target/AVR/MCTargetDesc/AVRMCAsmInfo.cpp
+28-301 files

LLVM/project fcbfb40 — clang/docs LanguageExtensions.md, clang/test/OpenMP GH136294.c task_codegen.cpp

use static function for AVR

Created using spr 2.0.0-beta.2
DeltaFile
+1,617-1,626clang/test/OpenMP/task_codegen.cpp
+667-0llvm/test/Analysis/LoopAccessAnalysis/invariant-accesses-disjoint.ll
+552-26llvm/test/CodeGen/NVPTX/bf16-instructions.ll
+281-272clang/docs/LanguageExtensions.md
+191-191llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-phi-rv64.mir
+0-364clang/test/OpenMP/GH136294.c
+3,308-2,479177 files not shown
+6,365-4,412183 files

LLVM/project c40414b — llvm/include/llvm/Object Wasm.h, llvm/lib/Object WasmObjectFile.cpp

[Object/Wasm][NFC] Make DisallowedPredecessors constant (#246611)

Move the 1.6kB DisallowedPredecessors array to .rodata and shrink it to
400B.
DeltaFile
+2-2llvm/include/llvm/Object/Wasm.h
+3-1llvm/lib/Object/WasmObjectFile.cpp
+5-32 files

LLVM/project b66e783 — clang/docs LanguageExtensions.md

[docs] Document signature of builtin functions more consistently (#246637)

This greatly increases the consistency in how the signature of builtin
functions is documented. Historically, only some of the intrinsics had a
proper pseudo-C++ declaration, only some provided a documented return
type, etc. Also, the formatting (west-pointer vs. east-pointer) was
inconsistent, and some declarations used `type` to express generics
while others use `T`.

This patch also fixes some more severe documentation issues:
- `__builtin_unpredictable` was documented to operate on `long long`,
but actually operates on `long`.
- `__builtin_bitreverseg` is undocumented.

---------

Co-authored-by: Timm Baeder <tbaeder at redhat.com>
DeltaFile
+89-93clang/docs/LanguageExtensions.md
+89-931 files

LLVM/project e0a759b — llvm/include/llvm/IR Module.h, llvm/lib/IR Module.cpp

[IR][NFC] Mark Module::getTargetABIFromMD() as const. (#246779)
DeltaFile
+1-1llvm/lib/IR/Module.cpp
+1-1llvm/include/llvm/IR/Module.h
+2-22 files