LLVM/project 3c066f9 — llvm/include/llvm/DebugInfo/DWARF DWARFDebugLoc.h

[DebugInfo] Remove unused DWARFDebugLoc::Locations (NFC) (#243719)

The last uses were removed on November 8, 2019 in commit
01bb3b07c346c4215a83893d15f3c6022773ef83.  This patch also removes the
now-unused LocationLists and LocationList.

Assisted-by: Antigravity
DeltaFile
+0-17llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
+0-171 files

OpenBSD/xenocara iCRD7Fh — . MODULES

   update
VersionDeltaFile
1.577+3-3MODULES
+3-31 files

LLVM/project c6ad268 — llvm/include/llvm/CodeGen FaultMaps.h, llvm/lib/CodeGen FaultMaps.cpp

[CodeGen] Remove unused FaultMaps::faultTypeToString (NFC) (#243718)

The last caller was removed on June 28, 2025 in commit
d93aff42c23069c27dae411fd0f60bd19ad04ad9.

Assisted-by: Antigravity
DeltaFile
+0-14llvm/lib/CodeGen/FaultMaps.cpp
+0-2llvm/include/llvm/CodeGen/FaultMaps.h
+0-162 files

LLVM/project eeb490e — llvm/lib/Transforms/Vectorize VPlan.h

Fixup typo
DeltaFile
+1-1llvm/lib/Transforms/Vectorize/VPlan.h
+1-11 files

LLVM/project 742a4b8 — libc/benchmarks LibcBenchmark.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+1-1libc/benchmarks/LibcBenchmark.cpp
+1-11 files

LLVM/project 0b31520 — libc/benchmarks LibcMemoryGoogleBenchmarkMain.cpp LibcMemoryBenchmark.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+18-10libc/benchmarks/CMakeLists.txt
+18-0libc/benchmarks/LibcMemoryBenchmark.h
+7-0libc/benchmarks/LibcDefaultImplementations.cpp
+6-0libc/benchmarks/LibcMemoryGoogleBenchmarkMain.cpp
+6-0libc/benchmarks/LibcMemoryBenchmark.cpp
+6-0libc/benchmarks/LibcFunctionPrototypes.h
+61-102 files not shown
+66-118 files

LLVM/project 5773b9e — libc/benchmarks LibcBenchmark.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+1-1libc/benchmarks/LibcBenchmark.cpp
+1-11 files

LLVM/project 8d541d5 — llvm/lib/Target/Hexagon HexagonGenInsert.cpp, llvm/test/CodeGen/Hexagon geninsert-debug-distance.ll

[Hexagon] Ignore debug instructions in GenInsert distance calculations (#232188)

GenInsert prunes candidates based on instruction distance. Counting
debug instructions against that limit lets debug information change
whether insert instructions are formed.

Cache non-debug block sizes and skip debug instructions in partial
ranges while preserving pseudo-probe and bundle accounting. The
regression test covers both distance paths across multiple blocks.

Assisted-by: OpenAI Codex 5.6 Sol
Assisted-by: Claude (review)
DeltaFile
+81-0llvm/test/CodeGen/Hexagon/geninsert-debug-distance.ll
+42-19llvm/lib/Target/Hexagon/HexagonGenInsert.cpp
+123-192 files

LLVM/project d9d46fe — llvm/lib/Target/AArch64 SMEPeepholeOpt.cpp, llvm/test/CodeGen/AArch64 sme-peephole-debug-instr.ll

[AArch64][SME] Ignore debug instructions between streaming mode pairs (#232187)

A debug instruction between matching SMSTART and SMSTOP instructions
resets the peephole candidate, so debug information keeps an otherwise
redundant streaming-mode pair.

Ignore debug instructions while scanning between the pair. The
regression test checks that the pair is removed across a debug record.

Assisted-by: OpenAI Codex 5.6 Sol
Assisted-by: Claude (review)
DeltaFile
+37-0llvm/test/CodeGen/AArch64/sme-peephole-debug-instr.ll
+4-0llvm/lib/Target/AArch64/SMEPeepholeOpt.cpp
+41-02 files

LLVM/project c98eadd — llvm/lib/Target/ARM MVETPAndVPTOptimisationsPass.cpp, llvm/test/CodeGen/Thumb2 mve-vpt-optimisations-debug-use.mir

[ARM][MVE] Erase predicate constants whose only remaining uses are debug uses (#242639)

`ReplaceConstByVPNOTs` replaces a predicate constant that is the inverse
of
an earlier one with a `VPNOT` of the earlier predicate, or reuses an
earlier
predicate with the same value, then erases the constant's `COPY` and
`t2MOVi`/`t2MOVi16` if nothing else uses them. Those checks use
`use_empty()` and `hasOneUse()`, which count `DBG_VALUE`s, so a debug
use
keeps a dead `movw` under `-g`. This happens in ordinary C when an
`mve_pred16_t` variable holds a predicate whose inverse is also used.

Use `use_nodbg_empty()` and `hasOneNonDBGUse()` in both places. The
erased
instructions' `DBG_VALUE`s are left in place; LiveDebugVariables drops
them
later, as for other erased definitions.


    [7 lines not shown]
DeltaFile
+89-0llvm/test/CodeGen/Thumb2/mve-vpt-optimisations-debug-use.mir
+4-4llvm/lib/Target/ARM/MVETPAndVPTOptimisationsPass.cpp
+93-42 files

LLVM/project 3e91691 — llvm/lib/CodeGen TargetInstrInfo.cpp, llvm/test/CodeGen/AArch64 machine-combiner-reassociate-accumulators-debug.mir

[MachineCombiner] Do not take a DBG_VALUE as the user of an accumulator chain (#242642)

`getAccumulatorReassociationPatterns` checks that the root has one
non-debug user and then rejects the root if that user has the same
opcode,
because the chain continues there. It takes the user with
`use_instr_begin()`, which can return a `DBG_VALUE`. The same-opcode
check
then passes, a value in the middle of the chain is treated as its end,
and
the chain is reassociated only under `-g`. This happens in C when a
variable
holds a `vabal` accumulator whose chain continues in a later block.

Use `use_instr_nodbg_begin()`, matching the `hasOneNonDBGUser()` check.

The new function in `machine-combiner-reassociate-accumulators.mir` is
the
`uabal_accumulation` chain with its last `UABAL` given a `DBG_VALUE` and

    [14 lines not shown]
DeltaFile
+96-0llvm/test/CodeGen/AArch64/machine-combiner-reassociate-accumulators-debug.mir
+1-1llvm/lib/CodeGen/TargetInstrInfo.cpp
+97-12 files

LLVM/project 079932a — llvm/lib/Target/ARM A15SDOptimizer.cpp, llvm/test/CodeGen/ARM a15-SD-dep.ll

[ARM] Do not let a DBG_VALUE start the A15 S->D rewrite (#242636)

`A15SDOptimizer::runOnInstruction` runs on every instruction, including
`DBG_VALUE`s, and `getReadDPRs` does not skip them. A debug value of a D
register built from two S registers therefore starts the rewrite and
adds
`vdup`/`vext` under `-g` only. This happens when a variable holds a
`<2 x float>` vector built from two floats.

Return early for debug instructions.

The new function in `a15-SD-dep.ll` builds a `<2 x float>` from two
floats, and a new RUN line repeats the run with the optimization enabled
under `-debugify-and-strip-all-safe`, which gives the vector a debug
use.
Without the change that run emits `vdup.32`/`vext.32`; with it no
instruction is added.

This PR is assisted by Claude and reviewed by yqtian-se.
DeltaFile
+12-0llvm/test/CodeGen/ARM/a15-SD-dep.ll
+3-0llvm/lib/Target/ARM/A15SDOptimizer.cpp
+15-02 files

LLVM/project 6881095 — llvm/lib/Target/ARM MLxExpansionPass.cpp, llvm/test/CodeGen/ARM fmacs.ll

[ARM] Do not count debug instructions in the MLx expansion hazard window (#242650)

`ExpandFPMLxInstructions` keeps the last few instructions in a window to
decide whether a `VMLA`/`VMLS` should be expanded into a multiply and an
add. It skips positions, implicit defs and copies, but not `DBG_VALUE`s,
so
debug instructions push the dependent instruction out of the window and
the
`vmla` is kept under `-g` only (`-mcpu=cortex-a9`). Two variables that
hold
the multiply-add result are enough.

Skip debug instructions along with the other instructions that emit no
code, so the window holds only real instructions and the expansion
decision
is the same with and without debug info.

The new function in `fmacs.ll` has `#dbg_value`s of two variables after
the multiply-add. Without the change the hard-float Cortex-A9 run emits

    [7 lines not shown]
DeltaFile
+32-0llvm/test/CodeGen/ARM/fmacs.ll
+2-1llvm/lib/Target/ARM/MLxExpansionPass.cpp
+34-12 files

LLVM/project fee19ec — llvm/lib/IR LLVMContextImpl.cpp, llvm/test/Assembler token-none-metadata.ll

[IR] Destroy token none before value metadata (#229280)

A `ValueAsMetadata` may wrap the context-owned `ConstantTokenNone`.
`TheNoneToken` is a `unique_ptr` member and was previously destroyed
only after the `LLVMContextImpl` destructor body, but the
`ValuesAsMetadata` entries are deleted inside that body. The later
`Value` destruction therefore looked up a dangling entry and
double-freed it.

Destroy `TheNoneToken` with the other context-owned constants before
tearing down `ValuesAsMetadata`. Add a minimal assembler regression
test.

Fixes #229065
DeltaFile
+6-0llvm/test/Assembler/token-none-metadata.ll
+1-0llvm/lib/IR/LLVMContextImpl.cpp
+7-02 files

LLVM/project 9a1222a — llvm/lib/Target/AArch64 AArch64FrameLowering.cpp, llvm/test/CodeGen/AArch64 settag-merge-debug-label.ll

[AArch64] Ignore debug labels when folding settag SP updates (#230904)

With AArch64 MTE stack tagging, a source label can place a `DBG_LABEL`
between the final tag store and the epilogue SP update. 

`TagStoreEdit::emitCode` currently checks only the instruction
immediately after the tag stores. This patch skips consecutive
`DBG_LABEL`s when looking for the update, while emitting the loop at its
original position so the labels remain after the tag stores. It does not
skip `DBG_VALUE`, which may describe the SP before the update. The new
IR test checks the folded instruction and excludes the redundant SP
updates.
DeltaFile
+90-0llvm/test/CodeGen/AArch64/settag-merge-debug-label.ll
+8-3llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
+98-32 files

LLVM/project c665157 — llvm/lib/Transforms/Vectorize LoopVectorize.cpp VPlanUnroll.cpp, llvm/test/Transforms/LoopVectorize interleave_uncountable_exits.ll

[VPlan] Support interleaving early exit loops with side effects

We couldn't do this on main previously because the exit mask `active-lane-mask(0, FirstActiveLane(Cond))` doesn't get unrolled properly across parts. Now that we use mask.beforefirst we can unroll it properly in a chain. The unrolled form is:

    unroll(mask.beforefirst, P) = mask.beforefirst(cond[P] | broadcast(anyof(not(unroll(mask.beforefirst, P-1)))))

On AArch64 this can be combined to brkpb in another patch.
DeltaFile
+216-15llvm/test/Transforms/LoopVectorize/AArch64/early_exit_with_stores.ll
+106-7llvm/test/Transforms/LoopVectorize/interleave_uncountable_exits.ll
+35-4llvm/test/Transforms/PhaseOrdering/AArch64/countable-and-uncountable-exits-combined.ll
+10-0llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
+10-0llvm/lib/Transforms/Vectorize/VPlanLowering.cpp
+0-9llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+377-356 files

LLVM/project 1ef8d76 — llvm/lib/Transforms/Vectorize VPlan.h, llvm/test/Transforms/LoopVectorize/AArch64 early_exit_with_stores.ll

Fix hasEarlyExit not catching early exits with side effects
DeltaFile
+15-216llvm/test/Transforms/LoopVectorize/AArch64/early_exit_with_stores.ll
+4-35llvm/test/Transforms/PhaseOrdering/AArch64/countable-and-uncountable-exits-combined.ll
+4-0llvm/lib/Transforms/Vectorize/VPlan.h
+23-2513 files

FreeBSD/src 40e1cc3 — sys/arm/allwinner aw_thermal.c

aw_thermal: Add support for the H6

Add the thermal sensor controller of the H6, which has two sensors, for
the CPU and the GPU.

The controller has other registers than the one of the supported SoCs.
The efuse has the temperature of the factory test and the value of each
sensor at this temperature, from which the calibration value of each
sensor is computed and written to the controller.

The alarm and shutdown thresholds and the interrupts are not supported
yet.

Tested on:      Pine H64 (CPU and GPU temperatures, idle and under load)
DeltaFile
+116-0sys/arm/allwinner/aw_thermal.c
+116-01 files

FreeBSD/src 672ff45 — sys/arm/allwinner aw_thermal.c

aw_thermal: Make the data register and the alarm support per SoC

The controller of the H6 has its data registers at another offset and
other alarm, shutdown and interrupt registers.

Add the offset of the first data register to the SoC configuration,
and a flag for the alarm handling (interrupt, alarm and shutdown
thresholds and the cpufreq throttling), set for all the SoCs
currently supported.

No functional change intended.
DeltaFile
+23-9sys/arm/allwinner/aw_thermal.c
+23-91 files

FreeBSD/src ab350f6 — sys/arm/allwinner aw_thermal.c

aw_thermal: Add an init function to the SoC configuration

Move the initialisation of the controller to a function of the SoC
configuration, as the controller of the H6 is different from the one
of the other supported SoCs.

No functional change intended.
DeltaFile
+11-2sys/arm/allwinner/aw_thermal.c
+11-21 files

FreeBSD/src e7b7f2a — sys/arm/allwinner aw_sid.c

aw_sid: Add the thermal sensor calibration fuse of the H6

The thermal sensor controller of the H6 gets its calibration data from
the 8 bytes of the efuse at offset 0x14, referenced by the
ths_calibration nvmem cell. Add it so the thermal driver can read it.

Tested on:      Pine H64 (thermal sensor calibration)
DeltaFile
+9-0sys/arm/allwinner/aw_sid.c
+9-01 files

FreeBSD/src a7b3eb6 — sys/arm/allwinner aw_sid.h aw_sid.c

aw_sid: Add the CPU speed grade fuse of the H6 and H616

The OPP tables of the H6 and H616 use the speed grade, stored in the
efuse, to select the voltage of each OPP. Add it as a fuse so it can be
read from the cpu_speed_grade nvmem cell, and expose it in a sysctl.

The speed grade of the H616 is the 2 first bytes of the efuse and
overlaps with the root key. Match the size too when looking up the
fuse of an nvmem read.

Tested on:      Pine H64 (sysctl dev.aw_sid.0.speedgrade)
DeltaFile
+21-1sys/arm/allwinner/aw_sid.c
+1-0sys/arm/allwinner/aw_sid.h
+22-12 files

FreeBSD/src 135c402 — sys/dev/clk/allwinner ccu_h6.c

ccu_h6: Add the bus gates of UART1, UART2 and UART3

The firmware only leaves the gate of UART0 on. The UARTs of the H6 are
snps,dw-apb-uart and uart_snps enables the bus clock of the device, but
the clock does not exist, so the gate of the other UARTs stays off. With
a device tree where one of them is enabled (the Bluetooth UART of the
Pine H64 model B), uart_bus_probe() accesses the registers of a gated
UART and the boot hangs.

Add the gates of UART1 to UART3. The one of UART0 is left out for now,
with it uart_snps gets the clock rate and detects a 256 bytes FIFO, and
the input of the console is delayed.

Tested on:      Pine H64 (model B device tree, UART1)
DeltaFile
+6-6sys/dev/clk/allwinner/ccu_h6.c
+6-61 files

LLVM/project 401da4f — clang/lib/CodeGen CGHLSLRuntime.cpp, clang/test/CodeGenHLSL/builtins QuadAll-derivative-group.hlsl QuadAll-derivative-group-errors.hlsl

[HLSL] Add QuadAll Emulation support (#240645)

This PR completes parity with DXC in support of the QuadAll builtin.
QuadAll's dedicated op was implemented for SM 6.7+ in #236932, but this
PR adds emulation support by using QuadRead in the X, Y, and diagonal
directions. This can work even from SM 6.0.
Also adds derivative mode when applicable.

Some test updates were needed due to a failing validator, the validator
change was introduced by
https://github.com/KhronosGroup/SPIRV-Tools/pull/7033

Fixes https://github.com/llvm/llvm-project/issues/99215
Assisted by: Github Copilot

---------

Co-authored-by: Copilot <223556219+Copilot at users.noreply.github.com>
Copilot-Session: 365638e8-2291-4925-8f1e-1b5c23220818
DeltaFile
+74-0clang/lib/CodeGen/CGHLSLRuntime.cpp
+61-0clang/test/CodeGenHLSL/builtins/QuadAll-derivative-group-errors.hlsl
+48-0clang/test/CodeGenHLSL/builtins/QuadAll-derivative-group.hlsl
+36-0llvm/test/CodeGen/DirectX/QuadAll-expansion.ll
+32-3llvm/test/CodeGen/SPIRV/hlsl-intrinsics/QuadAll.ll
+17-17llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_cooperative_matrix/cooperative_matrix.ll
+268-2013 files not shown
+427-4819 files

LLVM/project fb192c5 — llvm/docs AMDGPUUsage.md AMDGPUAsyncOperations.md

[AMDGPU][Docs] Fix terminology for memory model and DMA operations (#243428)

- Define operations in terms of actions performed by dynamic instances.
- Use consistent wording for effects and their propagation.
- Clean up section headings, scope properties, and minor wording.
- Normalize async load/store names in stages, examples, and scheduling.

Assisted-by: AI
DeltaFile
+64-52llvm/docs/AMDGPUMemoryModel.md
+7-6llvm/docs/AMDGPUAsyncOperations.md
+2-2llvm/docs/AMDGPUUsage.md
+73-603 files

OpenBSD/xenocara woy3WiU — lib/libXfont2/src/FreeType ftfuncs.c, lib/libXfont2/src/bitmap pcfread.c

   Merge fixes from upstream for following issues:
   * CVE-2026-109909: PCF Font Parsing Negative Skip Out-Of-Bounds Read
   * CVE-2026-109920: libXfont2 FreeType backend uninitialised strike_index
                      out-of-bounds read
VersionDeltaFile
1.5+3-3lib/libXfont2/src/FreeType/ftfuncs.c
1.7+3-1lib/libXfont2/src/bitmap/pcfread.c
1.3+3-0lib/libXfont2/src/fontfile/bufio.c
+9-43 files

LLVM/project 3e63f70 — llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rvp-simd-64.ll

[RISCV][P-ext] Unroll v2i32 vselect to and/not/or on RV32. (#243654)

Also unroll non-splat v2i32 sshlsat to avoid regression. If we make
vselect custom without this, the v2i32 sshlsat gets expanded to vector
operations that then get scalarized. Since we support i32 sshlsat, we
should use that directly.

Assisted-by: Claude
DeltaFile
+27-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+5-16llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+32-172 files

OpenBSD/xenocara ZHEibku — lib/libfontenc/src encparse.c

   Merge fixes from upstream for following issue:
   CVE-2026-109908: X.Org libfontenc File Parsing Validation Failure
VersionDeltaFile
1.9+3-1lib/libfontenc/src/encparse.c
+3-11 files

LLVM/project 5f719ab — libc/test/src/wchar swprintf_test.cpp, lldb/source/Plugins/ObjectFile/Mach-O ObjectFileMachO.cpp

Merge remote-tracking branch 'remotes/ssh/main' into backend-stack-size-callees
DeltaFile
+2,688-2,691llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+3,137-5libc/test/src/wchar/swprintf_test.cpp
+1,538-1,476llvm/test/CodeGen/X86/clmul-vector.ll
+2,496-0offload/libomptarget/src/omptarget.cpp
+0-2,494offload/libomptarget/omptarget.cpp
+798-1,543lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+10,657-8,2092,346 files not shown
+92,216-46,4332,352 files

LLVM/project 5f13cc4 — llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV calling-conv-half.ll bfloat-convert.ll

[RISCV] Use fcvt.w(u).s for (i32 (fp_to_(s/u)int (f16/bf16 X)) even when f16/bf16 isn't a legal type. (#243664)

Previously we emitted fcvt.l(u).w.

We can't convert f16/bf16 directly to i32 so we emit a libcall to
convert f16/bf16 to f32, then convert f32 to integer. With
Zfhmin/Zfbfmin/Zhinxmin the f16->f32 libcall is an instruction.
We should use the same f32->int conversion instruction for both
cases.

Using fcvt.w(u).s produces a sign extended value that may help
removal of sext.w in some cases. fcvt.l.w was emitted with an
AssertSExt i32 which is why only the fcvt.lu.w tests are affected.

Assisted-by: Claude
DeltaFile
+373-110llvm/test/CodeGen/RISCV/half-convert.ll
+128-128llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
+155-3llvm/test/CodeGen/RISCV/half-convert-strict.ll
+79-15llvm/test/CodeGen/RISCV/bfloat-convert.ll
+10-7llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+8-8llvm/test/CodeGen/RISCV/calling-conv-half.ll
+753-2711 files not shown
+760-2787 files