LLVM/project 1b16c40 — llvm/tools/llvm-strings llvm-strings.cpp

[llvm-strings] Work around Solaris/AIX having overly tolerant c32rtomb (#248250)
DeltaFile
+12-1llvm/tools/llvm-strings/llvm-strings.cpp
+12-11 files

LLVM/project 5c47905 — clang/include/clang/Basic arm_sve.td, clang/lib/CodeGen/TargetBuiltins ARM.cpp test.c

stash
DeltaFile
+54-0clang/lib/CodeGen/TargetBuiltins/test.c
+50-0llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
+25-0clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+3-2llvm/include/llvm/IR/InstrTypes.h
+3-0clang/include/clang/Basic/arm_sve.td
+135-25 files

LLVM/project 1eb8f9f — clang/test/CodeGen/AArch64/sve2p3-intrinsics acle_fpv2_sv_min_max_reduce.c, clang/test/Sema aarch64-fpv2-sve2p3-svmax-svmin.c

[AArch64] Implement FEAT_FPv2 minimum/maximum vector reduce intrinsics

ACLE: https://github.com/ARM-software/acle/pull/480

Implements the following intrinsics:

    svmaxmgv / svminmgv
    svmaxinmv / svmininmv
    svmaxmginmv / svminmginmv

Includes f16, f32, and f64 type variants
DeltaFile
+319-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sv_min_max_reduce.c
+148-0llvm/test/CodeGen/AArch64/sve2p3-intrinsics/fpv2-sve2p3-intrinsics-min-max-reduce.ll
+108-0clang/test/Sema/AArch64/arm_sve_feature_dependent_sve_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2___sme_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2.c
+62-0clang/test/Sema/aarch64-fpv2-sve2p3-svmax-svmin.c
+29-23llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
+9-6llvm/lib/Target/AArch64/SVEInstrFormats.td
+675-293 files not shown
+706-319 files

LLVM/project 489c919 — llvm/test/CodeGen/AArch64 fpv2-sve2p3-intrinsics-fmaxmginm.ll fpv2-sve2p3-intrinsics-fmaxmg.ll

Remove _n testing for IR,  move intrinsics declaration, add asm Run line to C tests
DeltaFile
+1-247llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fminmginm.ll
+1-247llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fminmg.ll
+1-247llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmininm.ll
+0-246llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmaxmginm.ll
+0-246llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmaxmg.ll
+0-246llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmaxinm.ll
+3-1,4797 files not shown
+15-1,48213 files

LLVM/project 06e903e — clang/test/CodeGen/AArch64/sve2p3-intrinsics acle_fpv2_sve2p3_svmaxmginm.c acle_fpv2_sve2p3_svmaxinm.c

Move test files into sve2p3-intrinsics/
DeltaFile
+368-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sve2p3_svmaxmginm.c
+368-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sve2p3_svmaxinm.c
+368-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sve2p3_svmaxmg.c
+368-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sve2p3_svmininm.c
+368-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sve2p3_svminmg.c
+368-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sve2p3_svminmginm.c
+2,208-018 files not shown
+3,024-3,02424 files

LLVM/project faa1cfc — clang/test/Sema/AArch64 arm_sve_feature_dependent_sve_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2___sme_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2.c, llvm/test/CodeGen/AArch64 fpv2-sve2p3-intrinsics-fminmginm.ll fpv2-sve2p3-intrinsics-fminmg.ll

[AArch64] Implement ACLE intrinsics for FPv2 SVE min/max instructions

ACLE PR: https://github.com/ARM-software/acle/pull/480

Implements the following intrinsics:

- svmaxmg / svminmg
- svmaxinm / svmininm
- svmaxmginm / svminmginm

Includes f16, f32, and f64 types, _m, _z, and _x predication and _n variants

AI assistance: Codex used for generating test cases
DeltaFile
+691-0clang/test/Sema/AArch64/arm_sve_feature_dependent_sve_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2___sme_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2.c
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fminmginm.ll
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fminmg.ll
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmaxmg.ll
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmaxmginm.ll
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmininm.ll
+2,601-012 files not shown
+5,601-718 files

LLVM/project 084a059 — clang/lib/Interpreter IncrementalParser.h IncrementalParser.cpp, clang/test/Interpreter inline-namespace.cpp error-recovery-template-spec.cpp

[Clang-Repl] Introduce Error Recovery for Clang-Repl (#247062)

## Cross-PTU Mutation Tracking for clang-repl Error Recovery

### The problem

clang-repl compiles each input as a separate Partial Translation Unit
(PTU). If a PTU fails, we need to restore the AST to exactly how it was
before that PTU started.

Removing new declarations created by a failed PTU is easy. The harder
case is when a later PTU changes a declaration that was created by an
earlier PTU. These changes can happen indirectly as a side effect of
Clang, such as completing a class, instantiating a template, or
evaluating a constant.

So, for each declaration, we need to know which PTU changed each part of
its state and be able to undo only those changes.


    [79 lines not shown]
DeltaFile
+1,011-0clang/lib/Interpreter/ErrorRecovery.cpp
+738-0clang/lib/Interpreter/ErrorRecovery.h
+13-157clang/lib/Interpreter/IncrementalParser.cpp
+27-0clang/test/Interpreter/error-recovery-template-spec.cpp
+18-0clang/test/Interpreter/inline-namespace.cpp
+7-0clang/lib/Interpreter/IncrementalParser.h
+1,814-1575 files not shown
+1,824-15711 files

LLVM/project 0932918 — mlir/lib/Dialect/Bufferization/Transforms FuncBufferizableOpInterfaceImpl.cpp, mlir/test/Dialect/Bufferization/Transforms test-one-shot-module-bufferize-memory-space-invalid.mlir test-one-shot-module-bufferize-memory-space.mlir

[mlir][bufferization] Handle custom tensor memory space at function boundaries (#248055)

Building on top of #201350, which made `defaultMemorySpaceFn` and
`unknownTypeConverterFn` support tensor-like types, this PR removes the
restriction that `defaultMemorySpaceFn` is only queried for builtin
tensor types at function boundaries.

If `defaultMemorySpaceFn` returns `std::nullopt` for a custom tensor
type, an error is now emitted, as for builtin tensors.

Assisted-by: Claude Code
DeltaFile
+40-0mlir/test/lib/Dialect/Bufferization/TestOneShotModuleBufferize.cpp
+36-0mlir/test/Dialect/Bufferization/Transforms/test-one-shot-module-bufferize-memory-space.mlir
+34-0mlir/test/Dialect/Bufferization/Transforms/test-one-shot-module-bufferize-memory-space-invalid.mlir
+11-15mlir/lib/Dialect/Bufferization/Transforms/FuncBufferizableOpInterfaceImpl.cpp
+121-154 files

LLVM/project 128003d — llvm/test/CodeGen/PowerPC vec_conv_fp64_to_i16_elts.ll vec_conv_fp64_to_i8_elts.ll

[PowerPC] Enable SlotIndexes compaction by default

Greedy measures live ranges in slot indexes, and instructions erased
before allocation (by PHI elimination, two-address lowering and the
coalescer) leave entries behind that make ranges look longer than
they are. Opt PowerPC in to dropping them, as AMDGPU and ARM do, so
allocation works with real distances. Passing
-greedy-compact-slot-indexes=false restores the old behaviour.

On CTMark (pwr8, pwr10, AIX, ppc32), .text and llc compile time move
by less than 0.03% and evictions drop by 1.5-5.8%.

The test updates are register allocation changes; csr-split.ll gets
back the live range split it was written to check.
DeltaFile
+1,589-1,644llvm/test/CodeGen/PowerPC/clmul-vector.ll
+279-279llvm/test/CodeGen/PowerPC/all-atomics.ll
+192-192llvm/test/CodeGen/PowerPC/vec_conv_fp32_to_i16_elts.ll
+165-165llvm/test/CodeGen/PowerPC/more-dq-form-prepare.ll
+142-142llvm/test/CodeGen/PowerPC/vec_conv_fp64_to_i8_elts.ll
+132-132llvm/test/CodeGen/PowerPC/vec_conv_fp64_to_i16_elts.ll
+2,499-2,55437 files not shown
+3,490-3,54243 files

LLVM/project a12a9d7 — llvm/lib/Target/RISCV RISCVCodeGenPrepare.cpp, llvm/test/CodeGen/RISCV riscv-codegenprepare.ll riscv-codegenprepare-asm.ll

[RISCV] Handle i1 any-of reductions with backedge as first operand in RISCVCodeGenPrepare (#247925)

In RISCVCodeGenPrepare we widen i1 vp.merges that are part of a
reduction to i8 since there's no tail undisturbed mask instructions. We
previously only allowed the backedge to be the first operand of the phi
though, but loop simplify can insert preheaders etc. that cause the
backedge to be the second operand. 
DeltaFile
+53-0llvm/test/Transforms/PhaseOrdering/RISCV/any-of-vectorization.ll
+49-0llvm/test/CodeGen/RISCV/riscv-codegenprepare-asm.ll
+46-0llvm/test/CodeGen/RISCV/riscv-codegenprepare.ll
+9-6llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp
+157-64 files

LLVM/project 2c692b5 — llvm/lib/Target/Hexagon/Utils HexagonDepMask.h, llvm/test/CodeGen/AArch64 sve-fixed-length-fp-extend-bf16.ll sve-fixed-length-masked-expandloads.ll

Merge branch 'main' into users/lukel97/loop-vectorize/move-reassociateHeaderMasks-to-combineRecipes
DeltaFile
+2,844-0llvm/lib/Target/Hexagon/Utils/HexagonDepMask.h
+1,922-0mlir/test/Dialect/X86/vector-contract-16bit-fp-to-fma.mlir
+655-834llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+688-788llvm/test/CodeGen/AArch64/sve-fixed-length-fp-extend-bf16.ll
+1,449-0llvm/test/CodeGen/RISCV/xqcilo-xqcilia-sfb-frame-index.ll
+0-1,425mlir/test/Dialect/X86/vector-contract-bf16-to-fma.mlir
+7,558-3,0472,129 files not shown
+81,874-21,5112,135 files

LLVM/project 14dc6eb — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp

Address review comment
DeltaFile
+7-5llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+7-51 files

OPNSense/core eafa154 — src/opnsense/service/conf/actions.d actions_ids.conf

ids: ignore pkill exit status to prevent spurious UI errors
DeltaFile
+2-2src/opnsense/service/conf/actions.d/actions_ids.conf
+2-21 files

LLVM/project 8fbe2d3 — lld/ELF LTO.cpp, lld/test/ELF/lto lto-partitions-cache.ll

Address comments
DeltaFile
+83-56llvm/lib/LTO/LTOBackend.cpp
+81-32lld/test/ELF/lto/lto-partitions-cache.ll
+0-83llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h
+2-44llvm/lib/LTO/LTOCodeGenerator.cpp
+19-8llvm/test/LTO/AMDGPU/parallel-cache.ll
+8-11lld/ELF/LTO.cpp
+193-2349 files not shown
+231-25215 files

LLVM/project 1e980c7 — llvm/lib/CodeGen IfConversion.cpp, llvm/test/CodeGen/ARM ifcvt_triangleEarlyExitProb.mir

[IfConversion] Fix edge probability of early-exit triangles

IfConvertTriangle() if-converts the triangle BB -> CvtMBB -> NextMBB,
BB -> NextMBB by predicating CvtMBB into BB. If CvtMBB has a second
successor, the early exit, the edge from BB to NextMBB should get the
combined probability of both paths to NextMBB. The code assumed that
this edge goes to getNextBlock(*BBI.BB), the block after BB in the
layout, and skipped the update if that block was not a successor. For
example, with the layout BB, CvtMBB, early exit, the merge moves CvtMBB
to the end of the function, so the early exit follows BB, but it is not
a successor yet. The edge to NextMBB then keeps the 100% it got when
CvtMBB was removed from the successors, and the edge to the early exit
is added on top, so the sum exceeds 100%. Look up NextMBB in the
successors of BB.

On ARM, this happens to a branch on a logical or that
SelectionDAGBuilder splits into two branches to the same cold block.
The block with the second branch is CvtMBB, the cold block is NextMBB,
and the hot block is the early exit. Both edges to the cold block are

    [34 lines not shown]
DeltaFile
+96-99llvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-float-loops.ll
+3-4llvm/lib/CodeGen/IfConversion.cpp
+1-1llvm/test/CodeGen/Thumb2/v8_IT_3.ll
+1-1llvm/test/CodeGen/ARM/ifcvt_triangleEarlyExitProb.mir
+101-1054 files

LLVM/project 786b041 — llvm/test/CodeGen/ARM ifcvt_triangleEarlyExitProb.mir

[IfConversion] Add early-exit triangle probability test (NFC)

Assisted-by: Claude Code (Claude Opus 5.5)
DeltaFile
+133-0llvm/test/CodeGen/ARM/ifcvt_triangleEarlyExitProb.mir
+133-01 files

LLVM/project 48d28f4 — clang/lib/CIR/Dialect/Transforms/OffloadOpt KernelBindingTable.cpp, clang/test/CIR/Analysis kernel-bindings.cir

[CIR] Run the offload passes on cir.offload.launch

cir-offload-merge -opt now runs

  cir-offload-raise, mem2reg, cir-offload-sccp, symbol-dce,
  launch bounds, pointer facts, cir-offload-lower

Launch argument propagation and dead kernel elimination are stock sccp and
symbol-dce on the linked container. Launch bounds and pointer facts read
the launches from cir.offload.launch and treat a nested kernel as closed.

KernelBindingTable, OffloadDeadKernelElimination and
OffloadKernelArgConstantPropagation are removed with their tests. The
remaining offload tests run between raise and lower and use the launch
shape CIRGen emits.

A HIP stub reads its kernel handle global. KernelBindingTable counted the
read as an escape, so no HIP kernel was closed. The raise pass accepts it
inside the stub, so HIP kernels now get argument propagation.

    [4 lines not shown]
DeltaFile
+0-476clang/lib/CIR/Dialect/Transforms/OffloadOpt/KernelBindingTable.cpp
+240-24clang/test/CIR/Transforms/pointer-facts.cir
+173-17clang/test/CIR/Transforms/offload-pointer-facts.cir
+0-183clang/test/CIR/Analysis/kernel-bindings.cir
+144-14clang/test/CIR/Transforms/offload-pointer-facts-callees.cir
+138-14clang/test/CIR/Transforms/kernel-arg-const-prop.cir
+695-72821 files not shown
+1,040-1,59427 files

LLVM/project 4bc2ce7 — clang/lib/AST Availability.cpp, clang/test/ExtractAPI inherited_availability.m

[clang] Use class availability for ObjC category members (#248047)

ObjC categories can extend classes beyond their original definition.
They inherit the availability of the class, and any additional
availability attributes on category members are merged with the class
availability. However, AvailabilityInfo directly walked to the
translation unit and skipped the class, leading to incorrect
availability in symbol graphs. Update this logic to walk from a category
to its class instead.

rdar://193865049
DeltaFile
+38-0clang/test/ExtractAPI/inherited_availability.m
+10-2clang/lib/AST/Availability.cpp
+48-22 files

LLVM/project 21be374 — clang/include/clang/CIR/Dialect Passes.h Passes.td, clang/include/clang/CIR/Dialect/Transforms/OffloadOpt OffloadLaunch.h

[CIR] Add cir-offload-raise, cir-offload-lower and cir-offload-sccp

cir-offload-raise turns a flat offload container into linked form and
rewrites each launch site in the shape CIRGen emits (push configuration,
cir.if, stub call) into cir.offload.launch. A site in any other shape is
left alone. A kernel gets nested visibility when its stub has local
linkage, every use of the stub is a raised launch, and no device code
refers to the kernel; the closed-world option turns this off. A kernel
with no stub and no device use is nested too.

With nested visibility, stock sccp propagates launch arguments into the
kernel and symbol-dce erases kernels that are never launched.

cir-offload-sccp runs sccp once per device module, each time with that
module's kernel as the launch callee, so every device module gets the
same propagation.

cir-offload-lower restores the flat container: raise followed by lower
gives back the input.
DeltaFile
+598-0clang/lib/CIR/Dialect/Transforms/OffloadOpt/OffloadLaunch.cpp
+126-0clang/test/CIR/Transforms/offload-raise.cir
+50-0clang/include/clang/CIR/Dialect/Transforms/OffloadOpt/OffloadLaunch.h
+46-0clang/include/clang/CIR/Dialect/Passes.td
+12-0clang/tools/cir-opt/cir-opt.cpp
+4-0clang/include/clang/CIR/Dialect/Passes.h
+836-01 files not shown
+838-07 files

FreeBSD/doc cc7cdd4 — documentation/content/en/books/handbook/desktop _index.adoc

handbook/desktop: Align KDevelop w/ upstream descr
DeltaFile
+1-1documentation/content/en/books/handbook/desktop/_index.adoc
+1-11 files

LLVM/project 9891af2 — libcxx/include/__algorithm pstl.h, libcxx/include/__pstl/backends default.h

[libc++][pstl] Add serial implementations of in-place removal algorithms (#247591)

This PR adds serial implementations of in-place removal algorithms to
PSTL:
- `std::remove_if`
- `std::remove` (implemented in the `default` backend in terms of
`std::remove_if`)
- `std::unique`

Part #99938.
DeltaFile
+218-0libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/pstl.remove.pass.cpp
+216-0libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/pstl.unique_pred.pass.cpp
+211-0libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/pstl.remove_if.pass.cpp
+208-0libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/pstl.unique.pass.cpp
+50-0libcxx/include/__algorithm/pstl.h
+21-0libcxx/include/__pstl/backends/default.h
+924-06 files not shown
+994-112 files

LLVM/project 23a7b06 — clang/include/clang/CIR/Dialect/IR CIRDialect.h CIROps.td, clang/lib/CIR/Dialect/IR CIRInlinerInterface.cpp CIRDialect.cpp

[CIR] Add cir.offload.launch and the linked offload container form

cir.offload.launch is a host-side kernel launch: the kernel in each device
module, the host stub, the dim3 grid and block, shared memory, stream and
kernel arguments. It implements CallOpInterface with the first kernel as
callee and only the kernel arguments as call operands, so stock
interprocedural passes see a launch as a call. The inliner never inlines
it.

A container with the cir.offload.linked attribute holds the host symbols
at its top level and only device modules nested, so a launch can refer
down to a kernel. The attribute keeps what is needed to restore the flat
form.
DeltaFile
+78-3clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+75-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+55-0clang/test/CIR/IR/invalid-offload-launch.cir
+30-0clang/test/CIR/IR/offload-launch.cir
+4-0clang/include/clang/CIR/Dialect/IR/CIRDialect.h
+3-0clang/lib/CIR/Dialect/IR/CIRInlinerInterface.cpp
+245-31 files not shown
+246-37 files

LLVM/project 69f694b — clang/include/clang/CIR/Dialect/Transforms/OffloadOpt KernelCloning.h, clang/lib/CIR/Dialect/Transforms/OffloadOpt CMakeLists.txt KernelCloning.cpp

[CIR] Remove the unused kernel cloning helpers

Nothing calls cloneKernelForSites or getSpecializationTarget.
DeltaFile
+0-186clang/lib/CIR/Dialect/Transforms/OffloadOpt/KernelCloning.cpp
+0-78clang/include/clang/CIR/Dialect/Transforms/OffloadOpt/KernelCloning.h
+0-1clang/lib/CIR/Dialect/Transforms/OffloadOpt/CMakeLists.txt
+0-2653 files

LLVM/project 05ef66f — mlir/include/mlir/Dialect/Tosa/IR TosaProfileCompliance.h, mlir/lib/Dialect/Tosa/Transforms TosaValidation.cpp TosaProfileCompliance.cpp

[mlir][tosa] Unify profile/extensions compliance checks (#247185)

This commits removes separate `checkProfile` and `checkExtension` APIs
and replaced them with a single `checkProfileOrExtension` in the
validation pass profile compliance. Not only does this simplify checks,
it also fixes compliance issues where knowledge of both profile and
extension requirements are needed at the same time to determine whether
an operation is invalid.

This is the case for int16 concat which is supported in the following
cases:
- when the int16 extension is available
- when the specification version is 1.1 and the selected profile is
pro_fp

Regression tests are added for the above case.

Assisted-by: Codex
DeltaFile
+155-93mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp
+2-13mlir/include/mlir/Dialect/Tosa/IR/TosaProfileCompliance.h
+9-1mlir/test/Dialect/Tosa/tosa-validation-version-1p1-pro-fp-valid.mlir
+8-0mlir/test/Dialect/Tosa/tosa-validation-version-1p0-pro-fp-invalid.mlir
+0-7mlir/test/Dialect/Tosa/invalid_extension.mlir
+1-5mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
+175-1191 files not shown
+177-1217 files

LLVM/project fe805c6 — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/test/CIR/Transforms symbol-dce.cir

[CIR] Keep symbols that symbol-dce cannot see the uses of

An appending global (llvm.used, llvm.compiler.used) and a global
constructor or destructor are live without any symbol use. symbol-dce
erased them once they were not public. Override canDiscardOnUseEmpty on
cir.global and cir.func to keep them.
DeltaFile
+26-0clang/test/CIR/Transforms/symbol-dce.cir
+13-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+39-02 files

LLVM/project f5177f1 — clang/lib/CodeGen CGOpenMPRuntimeGPU.cpp CGOpenMPRuntime.cpp, clang/test/OpenMP spirv_task_addrspace.c

[Clang][OpenMP] Use default address space for task and globalized pointers (#248200)

The pointer to a task descriptor returned by __kmpc_omp_task_alloc,
and the pointer to a variable globalized with __kmpc_alloc_shared,
were cast to address space 0. This is fine for some targets (AMDGPU,
NVPTX) but wrong for SPIR-V, where address space 0 is private memory
and the default is address space 4. The patch switches to the default
address space instead, which fixes SPIR-V and implies no change to the
currently-working targets.

I can't test this on hardware, but it resolves the SPIR-V compilation
crash revealed by #245784/#247569.

Assisted-By: Claude
DeltaFile
+34-0clang/test/OpenMP/spirv_task_addrspace.c
+1-1clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
+1-1clang/lib/CodeGen/CGOpenMPRuntime.cpp
+36-23 files

LLVM/project 2f3dbfa — mlir/lib/Analysis/DataFlow DeadCodeAnalysis.cpp, mlir/test/Transforms sccp-callgraph.mlir

[mlir][DataFlow] Resolve non-call symbol uses in their own symbol table

DeadCodeAnalysis::initializeSymbolCallables walks every nested symbol
table, but looked up the target of a non-call symbol use in `top`. A
reference nested in an inner symbol table did not resolve there, so the
address-taken callable was still treated as having only known callers and
SCCP propagated constants into its arguments.

Resolve the reference in the symbol table that holds the use.
DeltaFile
+27-0mlir/test/Transforms/sccp-callgraph.mlir
+4-2mlir/lib/Analysis/DataFlow/DeadCodeAnalysis.cpp
+31-22 files

FreeBSD/src 2d1fc19 — sys/dev/mlx5/mlx5_en mlx5_en_main.c en.h

mlx5en: fix RX HW timestamp overflow with 1GHz clock

mlx5e_mbuf_tstmp() splits the HW clock delta into seconds and a
sub-second remainder before scaling it by the calibration interval.
With a 1GHz core clock and the default 30 seconds recalibration
interval, both the remainder multiplied by the interval in ns and the
carry over multiplied by cclk exceed 2^64.  RX timestamps end up off by
up to two seconds, which shows up as clock drift in NTP using HW RX
timestamps.

Take the whole calibration intervals out of the HW clock delta first,
so that the rest of the computation does not depend on how far the
timestamp is from the calibration point, e.g. after the system was
suspended.  Then split the rest at 2^20 clocks, about 1ms at 1GHz,
instead of at seconds, using shifts and masks.  The split no longer
depends on the clock frequency, so priv->cclk is removed.

Reviewed by:    kib, gallatin
Sponsored by:   Nvidia networking

    [2 lines not shown]
DeltaFile
+37-29sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
+0-2sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+1-1sys/dev/mlx5/mlx5_en/en.h
+38-323 files

OpenBSD/ports tfkLCe8 — www/webkitgtk4 Makefile, www/webkitgtk4/patches patch-Source_WTF_wtf_simdutf_simdutf_impl_h patch-Source_WTF_wtf_simde_arm_neon_h

   WebkitGTK only supports little endian and 32-bit archs do not have enough memory
   to build. So set ONLY_FOR_ARCHS accordingly and drop now irrelevant patches.

   w/ Brad
VersionDeltaFile
1.20+13-39www/webkitgtk4/patches/patch-Source_JavaScriptCore_runtime_MachineContext_h
1.272+11-21www/webkitgtk4/Makefile
1.19+1-10www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake
1.2+0-0www/webkitgtk4/patches/patch-Source_WTF_wtf_simdutf_simdutf_impl_h
1.3+0-0www/webkitgtk4/patches/patch-Source_WTF_wtf_simde_arm_neon_h
1.10+0-0www/webkitgtk4/patches/patch-Source_WTF_wtf_dtoa_utils_h
+25-706 files not shown
+25-7012 files

LLVM/project ba915b8 — mlir/lib/Conversion/OpenACCToLLVM ACCAtomicPatterns.cpp, mlir/test/Conversion/OpenACCToLLVM atomic.mlir

[mlir][acc] Read 128-bit values in `acc.atomic.read` with `cmpxchg`

`acc.atomic.read` reads `x` with an `atomicrmw or` of zero on an integer
of the size of `x`. For a `complex<f64>`, that is an `i128`, which
the LLVM dialect verifier does not accept for integer operations of
`atomicrmw` ([LLVMMemoryOps.cpp#L509-L511][verifier]):

```mlir
acc.atomic.read %v = %x : !fir.ref<complex<f64>>, !fir.ref<complex<f64>>, complex<f64>
```

failed with:

```
'llvm.atomicrmw' op expected LLVM IR integer type
```

Read values wider than 64 bits with a `cmpxchg` of zero with zero
instead, and take the loaded value. It only stores zero where the value

    [11 lines not shown]
DeltaFile
+41-0mlir/test/Conversion/OpenACCToLLVM/atomic.mlir
+15-9mlir/lib/Conversion/OpenACCToLLVM/ACCAtomicPatterns.cpp
+56-92 files