LLVM/project 5a50b09 — llvm/lib/Target/AArch64 AArch64.h AArch64TargetMachine.cpp

[AArch64] Remove unused private member variables in MachineSMEABI (NFC) (#243323)

MachineSMEABI::OptLevel: The last use was removed on February 3, 2026 in
commit 79eb804954bee06a62a3d31c697652f6dce982b1.  This patch also
removes the now-unused OptLevel parameter from the MachineSMEABI
constructor and createMachineSMEABIPass.

MachineSMEABI::MLI: This member variable was added on October 28, 2025
in commit 57d4c90dac1b6fc8e25f1ba52cdf1189f4ceefa1 without any uses.

Assisted-by: Antigravity
DeltaFile
+2-8llvm/lib/Target/AArch64/MachineSMEABIPass.cpp
+2-2llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+1-1llvm/lib/Target/AArch64/AArch64.h
+5-113 files

LLVM/project 0ef5439 — openmp/tools/archer/tests/races taskwait-depend.c

[OpenMP][Archer] Isolate taskwait-depend test variables in TSan shadow cells (#242140)

`races/taskwait-depend.c` can produce no expected race report even after
all ten `deflake.bash` attempts. On AArch64 Linux, the unchanged test
reproduced this empty-output failure in 41 of 100 `ignore_serial=1`
wrapper invocations.

Align `x`, `y`, and `sem` separately to 8 bytes so they occupy different
TSan shadow cells. In the inspected unpatched assembly, `x` and `y`
share one cell. TSan's bounded access history makes the later `y` report
sensitive to intervening accesses to `x`; separating their histories
stabilizes the expected report. The original task scheduling, two-thread
team, and report checks are preserved, with the checked source line
numbers updated.

Fixes #117773.

Validation on AArch64 Linux, using Clang 18.1.3 with source-built
libomp/Archer and an existing LLVM 24 development TSan shared-runtime

    [15 lines not shown]
DeltaFile
+7-3openmp/tools/archer/tests/races/taskwait-depend.c
+7-31 files

LLVM/project 0c934f1 — llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 fixed-deinterleave-intrinsics.ll sve-interleave-store-combine.ll

[AArch64] Remove Interleave Intrinsics handling from IA (#234342)

Interleave Intrinsics can directly be lowered in AArch64 codegen for
both scalable and fixed vectors.
DeltaFile
+717-544llvm/test/CodeGen/AArch64/sve-deinterleave-load-combine.ll
+590-628llvm/test/CodeGen/AArch64/sve-interleave-store-combine.ll
+0-545llvm/test/Transforms/InterleavedAccess/AArch64/scalable-deinterleave-intrinsics.ll
+18-244llvm/test/CodeGen/AArch64/fixed-deinterleave-intrinsics.ll
+0-171llvm/test/Transforms/InterleavedAccess/AArch64/sve-deinterleave4.ll
+0-155llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+1,325-2,2875 files not shown
+1,371-2,47611 files

LLVM/project e6687bf — llvm/test/CodeGen/AMDGPU amdpal-chain-metadata.ll amdpal-chain-metadata-dvgpr.ll

Add a few more tests for chain_preserve. NFC
DeltaFile
+54-0llvm/test/CodeGen/AMDGPU/amdpal-chain-metadata-dvgpr.ll
+25-0llvm/test/CodeGen/AMDGPU/amdpal-chain-metadata.ll
+79-02 files

LLVM/project 2c39d2d — llvm/lib/Transforms/Vectorize VPlanUtils.cpp LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize outer-loop-bitinsert-bitextract.ll bitinsert-bitextract.ll

[LV] Widen `bitinsert` and `bitextract`
DeltaFile
+782-0llvm/test/Transforms/LoopVectorize/bitinsert-bitextract.ll
+337-0llvm/test/Transforms/LoopVectorize/X86/bitinsert-bitextract-cost.ll
+174-0llvm/test/Transforms/LoopVectorize/outer-loop-bitinsert-bitextract.ll
+48-1llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+4-0llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+2-0llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+1,347-16 files

LLVM/project 107d228 — llvm/lib/Transforms/Vectorize VPlanRecipes.cpp VPlan.h

[VPlan] Share the result-type helper of `VPReplicateRecipe` with `VPWidenRecipe` (NFC)
DeltaFile
+28-20llvm/lib/Transforms/Vectorize/VPlan.h
+2-2llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+30-222 files

LLVM/project 835c313 — llvm/include/llvm/Analysis TargetTransformInfoImpl.h TargetTransformInfo.h, llvm/include/llvm/CodeGen BasicTTIImpl.h

[TTI] Add `Args` and `CtxI` to `bitinsert`/`bitextract` costs
DeltaFile
+20-6llvm/include/llvm/Analysis/TargetTransformInfo.h
+14-10llvm/lib/Analysis/TargetTransformInfo.cpp
+10-4llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
+6-2llvm/include/llvm/CodeGen/BasicTTIImpl.h
+50-224 files

LLVM/project 450a7b8 — llvm/include/llvm/Analysis TargetTransformInfoImpl.h TargetTransformInfo.h, llvm/include/llvm/CodeGen BasicTTIImpl.h

[TTI] Drop default args from `bitinsert`/`bitextract` costs
DeltaFile
+14-14llvm/include/llvm/Analysis/TargetTransformInfo.h
+10-10llvm/include/llvm/CodeGen/BasicTTIImpl.h
+10-10llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
+34-343 files

LLVM/project 3cb3532 — llvm/include/llvm/CodeGen BasicTTIImpl.h

[TTI] Use `TCC_Free`
DeltaFile
+1-1llvm/include/llvm/CodeGen/BasicTTIImpl.h
+1-11 files

LLVM/project e52d46a — llvm/include/llvm/CodeGen BasicTTIImpl.h, llvm/lib/Analysis TargetTransformInfo.cpp

[TTI] Cost `bitinsert` and `bitextract` by their lowering
DeltaFile
+84-84llvm/test/Analysis/CostModel/X86/bitinsert.ll
+52-52llvm/test/Analysis/CostModel/X86/bitextract.ll
+63-0llvm/include/llvm/CodeGen/BasicTTIImpl.h
+21-21llvm/test/Analysis/CostModel/AArch64/bitinsert.ll
+13-13llvm/test/Analysis/CostModel/AArch64/bitextract.ll
+20-0llvm/lib/Analysis/TargetTransformInfo.cpp
+253-1704 files not shown
+292-17910 files

LLVM/project 12c8e6c — llvm/test/Analysis/CostModel/AArch64 sve-bitextract.ll sve-bitinsert.ll, llvm/test/Analysis/CostModel/X86 bitextract.ll bitinsert.ll

[TTI] Pre-commit tests for `bitinsert` and `bitextract` costs
DeltaFile
+136-0llvm/test/Analysis/CostModel/X86/bitextract.ll
+136-0llvm/test/Analysis/CostModel/X86/bitinsert.ll
+55-0llvm/test/Analysis/CostModel/AArch64/bitinsert.ll
+55-0llvm/test/Analysis/CostModel/AArch64/bitextract.ll
+27-0llvm/test/Analysis/CostModel/AArch64/sve-bitextract.ll
+27-0llvm/test/Analysis/CostModel/AArch64/sve-bitinsert.ll
+436-06 files

LLVM/project f5b7a17 — lldb/include/lldb/ValueObject ValueObjectCast.h, lldb/source/ValueObject ValueObjectCast.cpp

[lldb] Strip authentication bits when SBValue::Cast drops __ptrauth (#242399)

`SBValue::Cast` to a type without the `__ptrauth` qualifier keeps the
authentication bits in the value, as shown below:

```
(lldb) script pSpecial = lldb.frame.FindVariable("pSpecial"); print(pSpecial)
(__ptrauth(2,0,0) intp) pSpecial = (actual=0x100008000) 0x0014800100008000
(lldb) script print(pSpecial.Cast(lldb.frame.FindVariable("pNormal").GetType()))
(intp) pSpecial = 0x0014800100008000
```

The fix is to call `GetStrippedPointerValue` in `UpdateValue` if the
parent's
type has the `__ptrauth` qualifier and the cast type does not, and to
hold the
stripped pointer as a `Scalar`. Since `UpdateValue` rebuilds a `Scalar`
value,
a write to it is lost, so override `ValueObjectCast::CanSetValue` to

    [10 lines not shown]
DeltaFile
+38-0lldb/source/ValueObject/ValueObjectCast.cpp
+19-0lldb/test/API/lang/c/ptrauth/TestPtrAuth.py
+9-0lldb/include/lldb/ValueObject/ValueObjectCast.h
+66-03 files

LLVM/project 8aec5d8 — llvm/lib/Target/NVPTX NVPTXInstrInfo.td, llvm/test/CodeGen/NVPTX tcgen05-shift.ll

[NVPTX] Support sm_107a as a valid target for tcgen05.shift (#243099)

This change supports `sm_107a` as a valid target for `tcgen05.shift`
according to [PTX
ISA](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#tcgen05-instructions-tcgen05-shift).
DeltaFile
+1-1llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+2-0llvm/test/CodeGen/NVPTX/tcgen05-shift.ll
+3-12 files

LLVM/project 3075b2d — bolt/include/bolt/Passes LongJmp.h, bolt/lib/Passes LongJmp.cpp

[BOLT][AArch64] Error when LongJmp will relax beyond 128MiB (#229882)

**Before**: LongJmp can relax non-call branches beyond 128MiB using
stubs that clobber `x16`, causing runtime crashes when branching between
hot and cold code.

**After**: LongJmp will emit an error and exit in this case 

Assisted-by: Codex
DeltaFile
+68-0bolt/test/AArch64/branch-relax-limits.s
+35-4bolt/lib/Passes/LongJmp.cpp
+15-15bolt/test/AArch64/bti-long-jmp.s
+3-10bolt/test/AArch64/branch-relax-b-range.s
+4-0bolt/include/bolt/Passes/LongJmp.h
+125-295 files

LLVM/project d4a6374 — mlir/include/mlir/Dialect/ArmSVE/TransformOps ArmSVEVectorTransformOps.td, mlir/include/mlir/Dialect/ArmSVE/Transforms Transforms.h

[mlir][ArmSVE] Add a pattern to lower `vector.contract` to indexed FMLA (#241231)

Adds a pattern to lower matching `vector.contract` operations to Arm SVE
indexed FMLA instructions:

* https://support.arm.com/documentation/ddi0602/2026-09/SVE-Instructions/FMLA--indexed---Floating-point-fused-multiply-add-by-indexed-element-?lang=en

Builds on #239175 and #236453.
DeltaFile
+167-1mlir/lib/Dialect/ArmSVE/Transforms/LowerContractToSVEPatterns.cpp
+84-0mlir/test/Dialect/Vector/CPU/ArmSVE/vector-indexed-fmla.mlir
+21-0mlir/include/mlir/Dialect/ArmSVE/TransformOps/ArmSVEVectorTransformOps.td
+5-0mlir/lib/Dialect/ArmSVE/TransformOps/ArmSVEVectorTransformOps.cpp
+2-0mlir/include/mlir/Dialect/ArmSVE/Transforms/Transforms.h
+279-15 files

LLVM/project 8f9d30c — clang/lib/CodeGen BackendUtil.cpp, flang/lib/Frontend FrontendActions.cpp

[Plugins] Provide PreCodeGenCallback with all runCodeGenPipeline params (#241314)

Provide plugins with all the parameters that llvm::runCodeGenPipeline()
takes. It lowers the bar for them to run an LLVM-based pipeline of their
own. The plugin API already changed in this release cycle, so
`LLVM_PLUGIN_API_VERSION` remains at 3.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+38-3llvm/examples/Ciao/Ciao.cpp
+27-13llvm/include/llvm/Plugins/PassPlugin.h
+14-6flang/lib/Frontend/FrontendActions.cpp
+10-7clang/lib/CodeGen/BackendUtil.cpp
+17-0llvm/test/Feature/codegen-plugin-forward.ll
+13-0llvm/lib/Plugins/PassPlugin.cpp
+119-297 files not shown
+156-3413 files

LLVM/project 525b9ff — offload/libompaccsupport device.cpp, offload/libompaccsupport/src device.cpp

[Offload][Omp][Acc][NFC] Restructure offload directory (#242220)

Create a src and include directory for libomptarget and libompaccsupport
following the same structure as liboffload.

Move headers from the base include directory to the directories that use
them.

Just a few utility headers remain in the share base include/Shared
directory. Of those, Environment.h and RPCOpcodes.h seem questionable
but seem in used in both the plugins and libomptarget (which seems to
point to further refactoring needed).

Changes in source files are basically due to directory changes, leftover
headers, and in a few cases, changing headers that were only used
transitively for their own dependence.

Headers in libompaccsupport seem like they could be further refined as
they contain both shared and things only neeeded by libomptarget, but

    [2 lines not shown]
DeltaFile
+0-2,494offload/libomptarget/omptarget.cpp
+2,494-0offload/libomptarget/src/omptarget.cpp
+0-1,683offload/libompaccsupport/device.cpp
+1,682-0offload/libompaccsupport/src/device.cpp
+0-778offload/libomptarget/OpenMP/API.cpp
+777-0offload/libomptarget/src/API.cpp
+4,953-4,955112 files not shown
+14,054-14,055118 files

LLVM/project d7e30ae — llvm/lib/CodeGen/GlobalISel CombinerHelper.cpp, llvm/lib/Target/AArch64 AArch64Combine.td

[AArch64][GlobalISel] Run sdiv_by_const in the post-legalizer combiner (#242643)

A `<2 x i64>` sdiv or srem by a constant is not expanded by the
pre-legalizer combiner, because `<2 x i64>` `G_SMULH` is not legal. The
legalizer then scalarizes the `G_SDIV`, and the resulting i64 divides
were selected as `sdiv` instructions. This runs `sdiv_by_const` in the
post-legalizer combiner so they are expanded into `smulh` and shifts, as
SelectionDAG does.

After legalization the combine can no longer rely on the legalizer to
split or widen an illegal `G_SMULH`, so `matchSDivOrSRemByConst` now
requires `G_SMULH` to be legal for the type in that case. Without this
it creates an i32 `G_SMULH` that cannot be selected.

```
define <2 x i64> @test(<2 x i64> %a) {
  %r = sdiv <2 x i64> %a, <i64 7, i64 6>
  ret <2 x i64> %r
}

    [37 lines not shown]
DeltaFile
+26-9llvm/test/CodeGen/AArch64/rem-by-const.ll
+12-5llvm/test/CodeGen/AArch64/combine-sdiv.ll
+9-2llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
+2-1llvm/lib/Target/AArch64/AArch64Combine.td
+49-174 files

LLVM/project 4b79a93 — clang/lib/CodeGen/TargetBuiltins RISCV.cpp, clang/test/CodeGen/RISCV rvp-intrinsics.c

[RISCV][P-ext] Add scalar mhacc.h0/h1 intrinsics (#242195)

Add the scalar Multiply High Accumulate h0/h1 intrinsics:
https://github.com/riscv/riscv-p-spec/blob/master/P-ext-intrinsics.adoc#packed-multiply-high-parts-accumulate

- `__riscv_mhacc_h0_i32`
- `__riscv_mhacc_h1_i32`
- `__riscv_mhaccsu_h0_i32`
- `__riscv_mhaccsu_h1_i32`
DeltaFile
+72-0clang/test/CodeGen/RISCV/rvp-intrinsics.c
+61-0llvm/test/CodeGen/RISCV/rvp-scalar.ll
+45-0llvm/test/CodeGen/RISCV/rvp-scalar-rv64.ll
+43-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+28-0cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c
+23-0clang/lib/CodeGen/TargetBuiltins/RISCV.cpp
+272-13 files not shown
+292-19 files

LLVM/project 79cdf28 — llvm/lib/Transforms/Vectorize VPlanUtils.cpp VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize/AArch64 multi-vector-tail-fold-liveout.ll

[LV] Address post-commit comments on #233782 (#241313)

A few NFC clean ups and updating the verifier to recognize an extract
from an active-lane-mask as a prefix mask.
DeltaFile
+75-0llvm/test/Transforms/LoopVectorize/AArch64/multi-vector-tail-fold-liveout.ll
+6-3llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
+2-5llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-1llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+84-94 files

LLVM/project 8c0ab42 — mlir/include/mlir/Dialect/SCF/Utils Utils.h, mlir/lib/Dialect/SCF/Utils Utils.cpp

[mlir][SCF] Support unsigned loops and iter_args in extractFixedOuterLoops (#241701)

See #240306 before reading

`stripmineSink` asserted on `scf.for` loops that use unsigned
comparisons, as it computes the strip bound with `arith.minsi` and
creates the inner loops with signed comparisons.
`extractFixedOuterLoops` did not check for this, so
`--test-extract-fixed-outer-loops` crashed on valid IR that had an
unsigned loop.

Instead of bailing out on unsigned loops, `stripmineSink` now emits the
right signedness: the strip bound uses `arith.minui` for unsigned loops,
and the new inner loop gets the same `unsignedCmp` as the loop it was
strip-mined from.

`stripmineSink` now also threads iter_args through the new inner loop,
which removes the iter_args bail-out from #184106. Tiling more than one
loop reorders the iterations, which can change the result of

    [7 lines not shown]
DeltaFile
+95-6mlir/test/Transforms/parametric-tiling.mlir
+23-15mlir/lib/Dialect/SCF/Utils/Utils.cpp
+3-1mlir/include/mlir/Dialect/SCF/Utils/Utils.h
+121-223 files

LLVM/project 8b416c5 — llvm/test/Transforms/LoopUnroll/AArch64 peel-last-iteration-load-widening-be.ll peel-last-iteration-load-widening.ll

[NFC][LoopPeel] Add tests for load widening
DeltaFile
+1,717-0llvm/test/Transforms/LoopUnroll/AArch64/peel-last-iteration-load-widening.ll
+87-0llvm/test/Transforms/LoopUnroll/AArch64/peel-last-iteration-load-widening-be.ll
+1,804-02 files

LLVM/project 8617e11 — llvm/include/llvm/Transforms/Utils LoopPeel.h, llvm/lib/Transforms/Scalar LoopUnrollPass.cpp

[LoopPeel] Peel last iteration to enable load widening

In loops that contain multiple consecutive small loads (e.g., 3 bytes
loading i8's), peeling the last iteration makes it safe to read beyond
the accessed region, enabling the use of a wider load (e.g., b32) for
all other N-1 iterations.

Patterns such as:
```
  %a = load i8, ptr %p
  %b = load i8, ptr %p+1
  %c = load i8, ptr %p+2
  ...
  %p.next = getelementptr i8, ptr %p, 3
```

Can be transformed to:
```
  %wide = load b32, ptr %p     ; Read 4 bytes

    [19 lines not shown]
DeltaFile
+652-131llvm/test/Transforms/LoopUnroll/AArch64/peel-last-iteration-load-widening.ll
+324-10llvm/lib/Transforms/Utils/LoopPeel.cpp
+51-16llvm/test/Transforms/LoopUnroll/AArch64/peel-last-iteration-load-widening-be.ll
+55-0llvm/test/Transforms/LoopUnroll/AArch64/peel-last-iteration-load-widening-disabled.ll
+6-0llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
+6-0llvm/include/llvm/Transforms/Utils/LoopPeel.h
+1,094-1571 files not shown
+1,098-1577 files

LLVM/project 51b9606 — mlir/lib/Dialect/SCF/IR SCF.cpp, mlir/test/Dialect/SCF canonicalize.mlir

[mlir][scf] Read the written tile of a `scf.forall` through block arg (#241838)

When a producer of the init of an `scf.forall` is fused into the loop,
the fused op reads the init from outside the loop, while the iteration
writes the same tile through the `shared_outs` block argument. One-shot
bufferize cannot prove that these touch the same tile, so it allocates a
buffer and copies the whole tensor.

E.g., after tiling a `linalg.mmt4d` and fusing the `linalg.pack` of its
accumulator:

```mlir
%r = scf.forall (%i, %j) in (8, 8) shared_outs(%out = %C) -> (tensor<96x64xf32>) {
  %c = tensor.extract_slice %C[%off0, %off1] [12, 8] [1, 1]   // reads the outer value
  ...
  scf.forall.in_parallel {
    tensor.parallel_insert_slice %u into %out[%off0, %off1] [12, 8] [1, 1]
  }
}

    [15 lines not shown]
DeltaFile
+122-0mlir/test/Dialect/SCF/canonicalize.mlir
+79-1mlir/lib/Dialect/SCF/IR/SCF.cpp
+201-12 files

LLVM/project c9ec383 — llvm/lib/Transforms/Vectorize VPlanUtils.cpp LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize outer-loop-bitinsert-bitextract.ll bitinsert-bitextract.ll

[LV] Widen `bitinsert` and `bitextract`
DeltaFile
+782-0llvm/test/Transforms/LoopVectorize/bitinsert-bitextract.ll
+337-0llvm/test/Transforms/LoopVectorize/X86/bitinsert-bitextract-cost.ll
+174-0llvm/test/Transforms/LoopVectorize/outer-loop-bitinsert-bitextract.ll
+48-1llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+4-0llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+2-0llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+1,347-16 files

LLVM/project 4ac2a57 — flang/lib/Semantics check-omp-structure.h check-omp-structure.cpp, flang/test/Lower/OpenMP wsloop-simd.f90

[flang][OpenMP] Emit portability warning on simd do with firstprivate & lastprivate (#242294)

Currently using `!omp parallel do simd lastprivate(a) firstprivate(a)`
does not copy the value of `a` into its body.
E.G.
```fortran
integer a
a=10
!$omp parallel do simd lastprivate(a) firstprivate(a)
do i=1,1
  if (a/=10) print *, 'Fail'
end do
!$omp end parallel do simd
end
```
Prints fail.
The result of discussion on
https://github.com/llvm/llvm-project/pull/236741 and other PRs was that
this behaviour correctly implements the OpenMP spec, since `!$omp do

    [9 lines not shown]
DeltaFile
+51-0flang/test/Semantics/OpenMP/firstprivate-lastprivate-simd-do.f90
+30-0flang/test/Lower/OpenMP/wsloop-simd.f90
+30-0flang/lib/Semantics/check-omp-structure.cpp
+1-0flang/lib/Semantics/check-omp-structure.h
+112-04 files

LLVM/project c432d26 — llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/test/CodeGen/X86 pr241254.ll

[DAG] SimplifyDemandedVectorElts - fdiv/frem of zero elements is NaN, not known zero (#241878)

`SimplifyDemandedVectorElts` treats an `fdiv`/`frem` element as known
zero when both operands are known zero, but `0.0 / 0.0` and `frem(0.0,
0.0)` are NaN. This dates back to 4cf1da0e021b, which added the FP
binops to the integer `ADD`/`SUB` case.

This patch stops reporting known zero elements for `FDIV` and `FREM`.

Fixes #241254

Assisted-by: Claude Opus 5.5
DeltaFile
+70-0llvm/test/CodeGen/X86/pr241254.ll
+3-1llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+73-12 files

LLVM/project 3808618 — clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp, clang/test/CIR/CodeGen complex-compound-assignment.cpp

[CIR] Fold extractvalue when lowering complex real and imag

Lower cir.complex.real and cir.complex.imag with createOrFold, so the
llvm.extractvalue folds through the llvm.insertvalue chain that
cir.complex.create lowers to. Until now the fold depended on the CIR
folders seeing the original cir.complex.create, which only happens
while dialect conversion keeps replaced ops around for rollback. The
LLVM folder works on the converted values in either mode and also
catches extracts of complex results that never came from a
cir.complex.create, such as the cir.complex.fadd result in
complex-compound-assignment.cpp, which now matches classic codegen.

Assisted-by: Claude Code (claude-opus-5-5).
DeltaFile
+4-6clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+3-5clang/test/CIR/CodeGen/complex-compound-assignment.cpp
+7-112 files

LLVM/project 82140d3 — llvm/test/CodeGen/X86 vector-partial-reduce-smla-widen.ll vector-partial-reduce-smla.ll, llvm/test/Transforms/LoopVectorize/X86/CostModel partial-reduce-dot-product-no-vnni.ll

[X86] Add i16 partial reduction tests for targets without VNNI (NFC) (#240903)

Adds test coverage for i16 × i16 → i32 partial reductions on targets
without VNNI, ahead of lowering them to PMADDWD (#223374).

- `vector-partial-reduce-smla.ll`: sext-only and mismatched-extend
cases.
- New `vector-partial-reduce-smla-widen.ll`: `<4 x i16>` inputs with a
`<4 x i32>` accumulator, which need input widening. It has non-VNNI RUN
lines only, since this shape crashes on VNNI targets today (TODO in the
file).
- `LoopVectorize/X86/CostModel/partial-reduce-dot-product.ll`: s16 × s16
on SSE2, AVX1, AVX2 and AVX512BW, and a negative u16 × u16 case.

Code drafted by both human and AI, and reviewed by human.
DeltaFile
+601-0llvm/test/CodeGen/X86/vector-partial-reduce-smla.ll
+138-0llvm/test/Transforms/LoopVectorize/X86/CostModel/partial-reduce-dot-product-no-vnni.ll
+70-0llvm/test/CodeGen/X86/vector-partial-reduce-smla-widen.ll
+809-03 files

LLVM/project 51d7f08 — lldb/test/API/macosx/unregistered-macho Makefile main.c, lldb/tools/debugserver/source/MacOSX MachProcess.h MachProcess.mm

[lldb][Darwin] Batch debugserver Mach-O load-command reads (#232684)

**Why:** During attach, debugserver reads each image's Mach-O
load-command headers and payloads separately. Targets with many dynamic
libraries repeat this work across every image.

**Change:** Read commands through a bounded 16 KB window. Keep
breakpoint-byte restoration and command validation; fall back to an
exact read when optional data is unreadable. This PR changes the
server-side traversal.

**Validation:** Standalone arm64 debugserver builds; four API cases pass
with matching current-main LLDB and with Apple LLDB. They cover parsing,
window boundaries, breakpoints, unreadable data and malformed commands.
A 32-bit inferior has not been tested.

<details>
<summary>Prior reviews</summary>


    [14 lines not shown]
DeltaFile
+177-0lldb/test/API/macosx/unregistered-macho/load-commands.c
+126-23lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+111-0lldb/test/API/macosx/unregistered-macho/TestUnregisteredMacho.py
+5-0lldb/tools/debugserver/source/MacOSX/MachProcess.h
+3-0lldb/test/API/macosx/unregistered-macho/main.c
+1-1lldb/test/API/macosx/unregistered-macho/Makefile
+423-246 files