LLVM/project 3feafaf — llvm/include/llvm/ADT GenericUniformityImpl.h, llvm/test/Analysis/UniformityAnalysis/AMDGPU divergent-cycle-exit-phi.ll trivial-join-at-loop-exit.ll

fix: visit DivTermBlock if it is a reducible cycle header
DeltaFile
+8-5llvm/include/llvm/ADT/GenericUniformityImpl.h
+4-2llvm/test/CodeGen/AMDGPU/amdgpu-uniform-temporal-divergence.ll
+2-2llvm/test/Analysis/UniformityAnalysis/AMDGPU/divergent-cycle-exit-phi.ll
+3-1llvm/test/Analysis/UniformityAnalysis/AMDGPU/trivial-join-at-loop-exit.ll
+17-104 files

LLVM/project 4fe5cb2 — .github/workflows libcxx-run-libstdcxx-benchmarks.yml, libcxx/test/configs stdlib-libstdc++.cfg.in

[libc++][ci] Build the libstdc++ benchmarks with TBB and enable PSTL in this config (#243119)

This PR adds the include and the library paths to TBB when building
benchmarks against `libstdc++`, such that its PSTL implementation can
run in parallel.
DeltaFile
+16-2libcxx/test/configs/stdlib-libstdc++.cfg.in
+12-4libcxx/utils/libcxx/test/dsl.py
+10-5libcxx/utils/libcxx/test/params.py
+2-1.github/workflows/libcxx-run-libstdcxx-benchmarks.yml
+3-0libcxx/utils/ci/lnt/run-libstdcxx-benchmarks
+43-125 files

LLVM/project de3c2cd — libcxx/test/benchmarks/numeric pstl.transform_inclusive_scan.bench.cpp

[libc++][pstl] Add benchmarks for parallel std::transform_inclusive_scan (#241312)

This PR adds a few benchmarks for the parallel scanning operations, in
this case particularly `std::transform_inclusive_scan()`.
DeltaFile
+87-0libcxx/test/benchmarks/numeric/pstl.transform_inclusive_scan.bench.cpp
+87-01 files

LLVM/project 624977c — libcxx/docs PSTL.md, libcxx/include/__pstl/backends/statpart copy_if.h

[libc++][pstl] Add a parallel implementation of std::unique_copy (#247149)

This PR refactors the existing parallel implementation of `copy_if` into
a more generic `__parallel_flagged_copy`.
The refactored implementation takes an abstract "flagger" that populates
the bit set, instead of explicitly requiring a unary predicate.
With this change, the algorithm can accommodate both `copy_if` and
`unique_copy`, such that these functions basically differ only in the
flagger they pass into `__parallel_flagged_copy`.
DeltaFile
+142-65libcxx/include/__pstl/backends/statpart/copy_if.h
+1-1libcxx/docs/PSTL.md
+143-662 files

LLVM/project 09bfdf0 — llvm/test/Analysis/UniformityAnalysis/AMDGPU divergent-cycle-exit-phi.ll, llvm/test/CodeGen/AMDGPU amdgpu-uniform-temporal-divergence.ll

review: add tests for exit phis that select constants (NFC)
DeltaFile
+92-0llvm/test/CodeGen/AMDGPU/amdgpu-uniform-temporal-divergence.ll
+78-0llvm/test/Analysis/UniformityAnalysis/AMDGPU/divergent-cycle-exit-phi.ll
+170-02 files

LLVM/project 821b6cd — libcxx/src/pstl std_thread_sched.h statpart.cpp

[libc++][pstl] Support platforms that have threads but no lock-free types (#248081)

Previously the code in PSTL demanded lock-free properties from some
atomics as a defensive measure, but after some discussions it was
decided that we don't want to make this decision for the user.
As a drive-by this patch reduces the number of preprocessor branches in
`statpart.cpp` and removes the dummy serial implementation of
`__apply()` from it, since this function shouldn't be called when the
platform has no support for threading.
DeltaFile
+30-30libcxx/src/pstl/statpart.cpp
+22-21libcxx/src/pstl/std_thread_sched.h
+52-512 files

LLVM/project 21de0b0 — lldb/source/Target StackFrameList.cpp

[lldb] Don't skip a frame after an interrupted frame fetch (#248090)

`StackFrameList::FetchFramesUpTo()` increments
`m_concrete_frames_fetched` after taking the index to be fetched. If the
fetch is interrupted, the idx is not restored, so the frame is never
added.

`TestInterruptBacktrace` is flaky on ARM64 Windows because of this.

This patch restores the index.
DeltaFile
+2-0lldb/source/Target/StackFrameList.cpp
+2-01 files

LLVM/project 3e3dcce — clang/include/clang/Basic BuiltinsAMDGPUDocs.td, clang/test/CIR/CodeGenHIP builtins-amdgcn-gfx10.hip

[AMDGPU] Implement builtin and intrinsic for s_wait_idle (#244238)

`s_wait_idle` is available since gfx10, but has so far not been exposed
in intrinsics. It waits for all dependency and memory counters to reach
0, similar to `s_waitcnt 0` on older architectures.
This can be useful for microbenchmarks, to ensure that only intended
operations are included in time measurements. **It should not be used
for attempts to circumvent the memory model.** There are alternatives
for "synchronization without cache invalidate/writeback" patterns that
are designed for this purpose.

Disclaimer: The implementation was mostly done by AI; I've reviewed it
and checked that it matches existing examples for similar builtins and
intrinsics.

Fixes: LCOMPILER-3256

Assisted-by: AI Coding Agent
DeltaFile
+42-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.wait.idle.ll
+21-0clang/include/clang/Basic/BuiltinsAMDGPUDocs.td
+8-0llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+8-0clang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
+8-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-gfx10.hip
+6-0llvm/test/Assembler/amdgcn-intrinsic-attributes.ll
+93-04 files not shown
+100-110 files

FreeBSD/ports fe4f379 — net-mgmt/flow Makefile distinfo

net-mgmt/flow: Update to 0.4.1
DeltaFile
+5-5net-mgmt/flow/distinfo
+1-1net-mgmt/flow/Makefile
+6-62 files

FreeBSD/ports 093407e — net/croc Makefile distinfo

net/croc: Update to 11.6.8
DeltaFile
+5-5net/croc/distinfo
+1-1net/croc/Makefile
+6-62 files

LLVM/project d2ca52f — clang/docs ReleaseNotes.md, clang/include/clang/StaticAnalyzer/Core/PathSensitive CheckerHelpers.h

[analyzer] Fix crashes on unusual macros in tryExpandAsInteger (#248108)

tryExpandAsInteger crashed on empty macro definitions because of an
unchecked .back() call, and an assertion fired when the value of a macro
did not fit into int64_t. Values wider than an int that still fit into
int64_t were silently truncated. Return std::nullopt in these cases.

Values above INT_MAX that fit into the bits of the target's int are
still converted to it, because DragonFly BSD defines AT_FDCWD as
0xFFFAFDCD.

Fixes #246164.

Assisted-by: Claude Code
DeltaFile
+27-0clang/test/Analysis/std-c-library-functions-macro-range.c
+13-1clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp
+3-2clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h
+4-0clang/docs/ReleaseNotes.md
+47-34 files

LLVM/project ed9d43a — llvm/lib/Target/LoongArch LoongArchISelLowering.cpp, llvm/test/CodeGen/LoongArch/lasx splat-extract-var-idx.ll

[LoongArch] Lower splat of variable-index extract to [x]vreplve (#244542)

Lower a splat of a variable-index extract_vector_elt to [x]vreplve. For
256-bit vectors, each 128-bit lane must splat the element at the same
position within the lane, which is the per-lane semantics of xvreplve.

Also, [x]vreplve only uses the low bits of the index, so drop redundant
masking of it.

Assisted-By: LLM
DeltaFile
+25-199llvm/test/CodeGen/LoongArch/lasx/splat-extract-var-idx.ll
+110-0llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+4-43llvm/test/CodeGen/LoongArch/lsx/splat-extract-var-idx.ll
+139-2423 files

LLVM/project e29a68b — llvm/test/CodeGen/LoongArch/lasx splat-extract-var-idx.ll, llvm/test/CodeGen/LoongArch/lsx splat-extract-var-idx.ll

[LoongArch][NFC] Add tests for splat of variable-index extract (#244541)

Add tests for splatting a vector element selected by a variable index,
for splatting such elements within each 128-bit lane, and for [x]vreplve
intrinsics with a masked index.

Assisted-By: LLM
DeltaFile
+531-0llvm/test/CodeGen/LoongArch/lasx/splat-extract-var-idx.ll
+259-0llvm/test/CodeGen/LoongArch/lsx/splat-extract-var-idx.ll
+790-02 files

LLVM/project 9fb97b8 — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize/RISCV low-trip-count.ll

[VPlan] Replace reassociateHeaderMask with a combine (#247946)

At the time reassociateHeaderMask was added, header masks weren't region
values and combineRecipes didn't have a worklist. Now that we have both
we can avoid the separate pass and move it into combineRecipes.

This also improves codegen on RISC-V because we now reassociate on every
call to combineRecipes, and after other combines have been applied.
DeltaFile
+11-29llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+9-10llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
+0-2llvm/test/Transforms/LoopVectorize/VPlan/vplan-print-before-after-all.ll
+20-413 files

LLVM/project bb54224 — llvm/lib/Target/AMDGPU AMDGPUISelDAGToDAG.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.global.load.async.to.lds.ll promote-constOffset-to-imm-gfx12.ll

[AMDGPU] Skip 32-bit addresses in SADDR fallback

Since #245220, SelectGlobalSAddr also accepts 32-bit (AS6) addresses.
The out-of-range offset fallback walked such an address before it was
extended, so a divergent AS6 load with a large constant failed with
"illegal VGPR to SGPR copy", and a wrapping 32-bit add could have been
split. Skip 32-bit addresses there and add a test.

Rename isUniformInVGPRs to isProducedInVGPRs: it asks where a uniform
value lives, not whether it is uniform. Update the async LDS tests for
the new s_wait_xcnt and the multicast mask clamp.
DeltaFile
+72-0llvm/test/CodeGen/AMDGPU/constant-address-space-32bit-vmem.ll
+27-3llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cluster.load.async.to.lds.ll
+12-9llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
+3-0llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm-gfx12.ll
+1-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.load.async.to.lds.ll
+115-125 files

LLVM/project ae224e7 — llvm/lib/Target/LoongArch LoongArchLASXInstrInfo.td LoongArchLSXInstrInfo.td, llvm/test/CodeGen/LoongArch/lasx guarded-div-rem.ll

[LoongArch] Remove redundant divisor guards from vector div/rem (#244485)

The Rust portable implementations of the [x]vdiv/[x]vmod intrinsics
guard the divisor against zero and signed overflow, e.g.

```
  %bz = icmp eq %b, 0
  %guard = or %bz, (and (icmp eq %a, MIN), (icmp eq %b, -1))
  %d = select %guard, splat (1), %b
  %q = sdiv %a, %d
  %r = select %bz, splat (0), %q
```

The hardware already returns 0 for x / 0 and x % 0, MIN for MIN / -1 and
0 for MIN % -1, so the guards are redundant. Fold them into new
VDIV/VDIV_U/VMOD/VMOD_U nodes to emit a single [x]vdiv/[x]vmod.

Assisted-by: LLM
DeltaFile
+16-146llvm/test/CodeGen/LoongArch/lsx/guarded-div-rem.ll
+16-146llvm/test/CodeGen/LoongArch/lasx/guarded-div-rem.ll
+123-0llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+11-0llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
+4-0llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
+170-2925 files

LLVM/project 494090d — llvm/test/CodeGen/LoongArch/lasx guarded-div-rem.ll, llvm/test/CodeGen/LoongArch/lsx guarded-div-rem.ll

[LoongArch][NFC] Add tests for vector div/rem with guarded divisors (#244483)

Add tests for vector div/rem whose divisor is guarded against zero and
signed overflow, as produced by portable implementations of the
[x]vdiv/[x]vmod intrinsics.

Assisted-by: LLM
DeltaFile
+551-0llvm/test/CodeGen/LoongArch/lsx/guarded-div-rem.ll
+551-0llvm/test/CodeGen/LoongArch/lasx/guarded-div-rem.ll
+1,102-02 files

LLVM/project 6f68e31 — libcxx/docs/Status Cxx26Papers.csv Cxx29Papers.csv

[libc++][docs] Add WG21 issues and papers voted in 2026-11 Buzios (#247586)

Notably, there are some papers addressing C++26 NB ballot comments, so
presumably they should be treated as C++26 papers. Remaining papers and
LWG issues are considered belonging to C++29.

For LWG4612 which is not yet adopted, GH issue is created and then
closed for the convention.
DeltaFile
+56-1libcxx/docs/Status/Cxx29Issues.csv
+7-0libcxx/docs/Status/Cxx29Papers.csv
+3-0libcxx/docs/Status/Cxx26Papers.csv
+66-13 files

LLVM/project 2bcd4b3 — lldb/source/Plugins/ScriptInterpreter/Python CMakeLists.txt

[cmake][lldb] Use Python3_SABI_LIBRARY_DIRS (#246347)

CMake now requires 3.31.  
Clarified the comment to mention where the pragma comes from since it's now in the LLVM codebase.  
Restructured the code slightly to make the dynamic plugin path use the correct library directory variable. Ditto for the other.
DeltaFile
+6-8lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
+6-81 files

LLVM/project 602ef35 — llvm/test/CodeGen/AArch64 machine-outliner-retaddr-sign-sp-pc-mod.mir

Fix new test after rebase
DeltaFile
+4-0llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-sp-pc-mod.mir
+4-01 files

LLVM/project 5c5faf2 — llvm/lib/Target/AArch64 AArch64InstrInfo.cpp, llvm/test/CodeGen/AArch64 machine-outliner-compatible-candidates.mir machine-outliner-regsave.mir

Determine what CFI to emit by looking at the existing CFI instructions
DeltaFile
+233-27llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+145-20llvm/test/CodeGen/AArch64/machine-outliner-regsave.mir
+7-2llvm/test/CodeGen/AArch64/machine-outliner-compatible-candidates.mir
+385-493 files

LLVM/project cd8fdad — llvm/test/CodeGen/AArch64 machine-outliner-regsave.mir

Fix machine-outliner-regsave.mir after rebase
DeltaFile
+1-0llvm/test/CodeGen/AArch64/machine-outliner-regsave.mir
+1-01 files

LLVM/project 207ad52 — llvm/lib/Target/AArch64 AArch64MachineFunctionInfo.h AArch64InstrInfo.cpp

Cache CFI analysis result in AArch64FunctionInfo
DeltaFile
+126-120llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+22-0llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
+148-1202 files

LLVM/project 84952f2 — llvm/lib/Target/AArch64 AArch64InstrInfo.cpp, llvm/test/CodeGen/AArch64 machine-outliner-drop-stack.mir machine-outliner-compatible-candidates.mir

[AArch64][MachineOutliner] Handle async CFI for outlined calls

When calling outlined functions from a function that needs asynchronous
unwind information, we need to add extra CFI instructions at the call
site in some cases, depending on how LR is saved in the caller. We have
the following cases:

1. LR doesn't need saving at the call site. In this case we don't need
   any extra CFI instructions.
2. LR is saved in a free register. In this case we need to add
   `.cfi_register w30, wN` and `.cfi_restore w30` around the function
   call. This will make sure that an unwinder can recover the correct LR
   value.
3. LR is saved to the stack. Since this case modifies the value of SP,
   and thus potentially the CFA, we disallow it entirely with
   asynchronous unwind info. We could probably allow some special cases,
   e.g. when the function doesn't use FP, but then we would have to
   reimplement complex functionality from `AArch64FrameLowering`.
DeltaFile
+72-24llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+26-12llvm/test/CodeGen/AArch64/machine-outliner-regsave.mir
+24-10llvm/test/CodeGen/AArch64/machine-outliner-compatible-candidates.mir
+17-6llvm/test/CodeGen/AArch64/machine-outliner-drop-stack.mir
+139-524 files

LLVM/project 7cde770 — llvm/lib/Target/AArch64 AArch64InstrInfo.cpp, llvm/test/CodeGen/AArch64 machine-outliner-throw2.ll machine-outliner-sp-addsub-fixup.mir

[AArch64][MachineOutliner] Emit async CFI in outlined functions

When requesting asynchronous unwind info, CFI instructions are now added
to the epilogue of outlined functions. The prologue CFI is also modified
to make it compatible with asynchronous unwinding.
DeltaFile
+49-4llvm/test/CodeGen/AArch64/machine-outliner-macho-compact-unwind-frame.mir
+31-7llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+6-3llvm/test/CodeGen/AArch64/machine-outliner-calls.mir
+7-2llvm/test/CodeGen/AArch64/machine-outliner-macho-compact-unwind-frame-fp.mir
+8-0llvm/test/CodeGen/AArch64/machine-outliner-sp-addsub-fixup.mir
+2-2llvm/test/CodeGen/AArch64/machine-outliner-throw2.ll
+103-186 files

LLVM/project 67fdd12 — llvm/lib/Target/AArch64 AArch64InstrInfo.cpp

Update CFIInstBuilder names to better reflect their function
DeltaFile
+8-7llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+8-71 files

LLVM/project 70f55cd — llvm/test/CodeGen/AArch64 machine-outliner-macho-compact-unwind-frame.mir

Add test line for `def_cfa $wsp, 16`
DeltaFile
+2-1llvm/test/CodeGen/AArch64/machine-outliner-macho-compact-unwind-frame.mir
+2-11 files

LLVM/project 47f8fb0 — llvm/lib/Target/AArch64 AArch64InstrInfo.cpp

Rephrase some comments
DeltaFile
+8-4llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+8-41 files

LLVM/project f54e728 — llvm/lib/Target/AArch64 AArch64Options.td AArch64MachineFunctionInfo.cpp, llvm/test/CodeGen/AArch64 minsize-async-uwtable.ll

[AArch64] Add flag to enable async unwind info for minsize functions (#236832)

Asynchronous unwind information is currently disabled for functions with
the `minsize` attribute, because some features used for such functions
(function outlining, homogeneous prologue/epilogue) don't handle
asynchronous unwind info at the moment.

The new flag, `-aarch64-enable-async-unwind-for-minsize`, overrides the
default behaviour, and enables async unwind info generation for
`minsize` functions, assuming that the function also has the
`uwtable(async)` attribute.

The new flag will allow us to incrementally improve and test function
outlining and homogeneous prologue/epilogue to support asynchronous
unwind information.
DeltaFile
+77-0llvm/test/CodeGen/AArch64/minsize-async-uwtable.ll
+4-1llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
+4-0llvm/lib/Target/AArch64/AArch64Options.td
+85-13 files

LLVM/project 37d2252 — llvm/lib/Target/LoongArch LoongArchISelLowering.cpp, llvm/test/CodeGen/LoongArch/lasx bitset.ll bitrev.ll

[LoongArch] Select [x]vbitset/[x]vbitrev for or/xor of bitcasted shl(splat(1), y) (#241239)

When the shift of splat(1) is performed in a narrower element type than
the or/xor, e.g.

```llvm
  %s = shl <8 x i16> splat (i16 1), %y
  %m = bitcast <8 x i16> %s to <2 x i64>
  %r = xor <2 x i64> %x, %m
```

the existing [x]vbitset.{b/h/w} and [x]vbitrev.{b/h/w} patterns fail to
match and we emit vrepli + vsll + vor.v/vxor.v.

Fold OP(bitcast(shl(splat(1), y)), x) into
bitcast(OP(shl(splat(1), y), bitcast(x))) for OP in {or, xor} so that
the operation is done in the shift's element type and selected as a
single [x]vbitset or [x]vbitrev.

Assisted-By: LLM
DeltaFile
+14-35llvm/test/CodeGen/LoongArch/lsx/bitset.ll
+14-35llvm/test/CodeGen/LoongArch/lsx/bitrev.ll
+14-35llvm/test/CodeGen/LoongArch/lasx/bitset.ll
+14-35llvm/test/CodeGen/LoongArch/lasx/bitrev.ll
+41-0llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+97-1405 files