LLVM/project 1099113 — clang/test/OffloadTools/clang-nvlink-wrapper opt-remarks.c, clang/tools/clang-nvlink-wrapper ClangNVLinkWrapper.cpp NVLinkOpts.td

[NvlinkWrapper] opt-remarks-filter -> opt-remarks-passes

`renderRemarksOptions` in Clang's `CommonArgs.cpp` translates
`-foptimization-record-passes` to `--plugin-opt=opt-remarks-passes`.
`lld` expects that, but `clang-nvlink-wrapper` currently expects
`--plugin-opt=opt-remarks-filter` instead, producing errors like:

```
clang-nvlink-wrapper: Unknown command line argument opt-remarks-passes=inline
```

In `NVLinkOpts.td` for `clang-nvlink-wrapper`, this patch adds
`--plugin-opt=opt-remarks-passes` and makes
`--plugin-opt=opt-remarks-filter` an alias.  If there are no users of
the latter, we can consider removing it.

Assisted-by: LLM
DeltaFile
+22-0clang/test/OffloadTools/clang-nvlink-wrapper/opt-remarks.c
+3-1clang/tools/clang-nvlink-wrapper/NVLinkOpts.td
+1-1clang/tools/clang-nvlink-wrapper/ClangNVLinkWrapper.cpp
+26-23 files

LLVM/project 2940c71 — clang/test/CIR/CodeGen attr-alias.c attr-alias-no-proto.c

[mlir][LLVMIR] Drop ClangIR test updates now that #234753 has landed

Assisted-by: Cursor / claude-opus-5.5
DeltaFile
+3-3clang/test/CIR/CodeGen/attr-alias.c
+3-3clang/test/CIR/CodeGen/attr-alias-no-proto.c
+6-62 files

LLVM/project 77cf68f — llvm/test/CodeGen/RISCV rvp-simd-32.ll rvp-simd-64.ll

[RISCV][P-ext] Add tests for extractelement with a variable index. NFC

Assisted-by: Claude
DeltaFile
+109-61llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+36-4llvm/test/CodeGen/RISCV/rvp-simd-32.ll
+145-652 files

LLVM/project bbcc52d — llvm/test/CodeGen/AArch64 bitinsert-bitextract-vector.ll

[AArch64] Use `-global-isel=0` in vector `bitinsert`/`bitextract` test
DeltaFile
+1-1llvm/test/CodeGen/AArch64/bitinsert-bitextract-vector.ll
+1-11 files

LLVM/project 07a5b49 — clang/lib/CIR/CodeGen CIRGenItaniumCXXABI.cpp, clang/test/CIR/CodeGen multi-vtable.cpp thunks.cpp

[CIR] Implement 'dsoLocal and 'protected visibility' (#240985)

This patch implements the setDSOLocal and protectedVisibility missing
features. These are both required to get the 'dso_local' to show up
correctly on RTTI members and to get their visibility correct.
Previously, we approximated it based on the MLIR public/private-ness,
but this doesn't take into account the visibility attribute, nor RTTI
correctly.

This patch adds that, and adds testing for all of the places this
changes. However, note that LLVM-IR will not print dso_local if it is
'implied' so it wasn't as obvious that it was not correctly marked in
CIR (but LLVM-IR effectively 'got it right').

Additionally, mlir default-sets declarations as 'private', so we were
missing a few cases where the linkage wasn't being set properly. This
patch ALSO updates those. This again is something that doesn't really
end up in the LLVM-IR, just in the MLIR types however, so it isn't
really visible, just another 'correctness' fix.
DeltaFile
+53-0clang/test/CIR/CodeGen/rtti-visibility.cpp
+28-21clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
+14-14clang/test/CIR/CodeGenCXX/vtable-linkage.cpp
+5-10clang/test/CIR/CodeGen/attribute-visibility.c
+5-5clang/test/CIR/CodeGen/thunks.cpp
+3-3clang/test/CIR/CodeGen/multi-vtable.cpp
+108-5311 files not shown
+129-6817 files

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

[RISCV][P-ext] Fix crash on v2i32 extract_vector_elt with a variable index on RV32.

Assisted-by: Claude
DeltaFile
+63-39llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+6-3llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+69-422 files

LLVM/project 00faa87 — llvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU amdgcn-demanded-vector-elts.ll

[AMDGPU] Reduce resource align when shrinking buffer loads

Since the `align` on buffer intrinsics includes the offset argument,
the demand, `simplifyAMDGCNMemoryIntrinsicDemanded` needs to account
for the value added to that offset, which might reduce the alignment
of the load.

AI disclosure: Claude wrote the code, I looked at it and wrote the
commit message.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+14-2llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+5-5llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
+19-72 files

LLVM/project 3825cc7 — llvm/test/Transforms/InstCombine/AMDGPU amdgcn-demanded-vector-elts.ll

[AMDGPU] Pre-commit tests for buffer load shrinking with align (#240944)

Buffer load demanded elements analysis isn't shrinking the `align`
annotated on the intrinsic correctly.

AI disclosure: Claude wrote these, I wrote this message

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+78-0llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
+78-01 files

LLVM/project b8cb8b6 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/File BUILD.bazel

[bazel] Add subpackage for libc/src/__support/wchar
DeltaFile
+76-0utils/bazel/llvm-project-overlay/libc/src/__support/wchar/BUILD.bazel
+0-60utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+3-3utils/bazel/llvm-project-overlay/libc/src/__support/printf_core/BUILD.bazel
+3-3utils/bazel/llvm-project-overlay/libc/src/__support/File/BUILD.bazel
+2-2utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
+84-685 files

LLVM/project 587157c — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/threads BUILD.bazel

[bazel] Add subpackage for libc/src/__support/time
DeltaFile
+83-0utils/bazel/llvm-project-overlay/libc/src/__support/time/BUILD.bazel
+2-69utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+3-3utils/bazel/llvm-project-overlay/libc/src/__support/threads/BUILD.bazel
+2-2utils/bazel/llvm-project-overlay/libc/test/src/__support/threads/BUILD.bazel
+1-1utils/bazel/llvm-project-overlay/libc/test/src/sys/socket/BUILD.bazel
+91-755 files

LLVM/project 7d9f5d2 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/File BUILD.bazel

[bazel] Add subpackage for libc/src/__support/threads
DeltaFile
+9-389utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+398-0utils/bazel/llvm-project-overlay/libc/src/__support/threads/BUILD.bazel
+5-5utils/bazel/llvm-project-overlay/libc/startup/linux/BUILD.bazel
+4-4utils/bazel/llvm-project-overlay/libc/test/src/__support/threads/BUILD.bazel
+3-3utils/bazel/llvm-project-overlay/libc/src/__support/OSUtil/BUILD.bazel
+1-1utils/bazel/llvm-project-overlay/libc/src/__support/File/BUILD.bazel
+420-4026 files

LLVM/project e55e2fe — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/OSUtil BUILD.bazel

[bazel] Add subpackage for libc/src/__support/OSUtil
DeltaFile
+87-316utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+245-0utils/bazel/llvm-project-overlay/libc/src/__support/OSUtil/BUILD.bazel
+101-101utils/bazel/llvm-project-overlay/libc/src/__support/OSUtil/linux/syscall_wrappers/BUILD.bazel
+2-2utils/bazel/llvm-project-overlay/libc/test/src/__support/threads/BUILD.bazel
+2-2utils/bazel/llvm-project-overlay/libc/startup/linux/BUILD.bazel
+1-1utils/bazel/llvm-project-overlay/libc/test/src/sys/mman/BUILD.bazel
+438-4222 files not shown
+440-4248 files

LLVM/project 67b16bd — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/printf_core BUILD.bazel

[bazel] Add subpackage for libc/src/__support/printf_core
DeltaFile
+39-214utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+191-0utils/bazel/llvm-project-overlay/libc/src/__support/printf_core/BUILD.bazel
+7-7utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
+2-2utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
+1-1utils/bazel/llvm-project-overlay/libc/test/src/stdio/BUILD.bazel
+240-2245 files

LLVM/project d1bc1d8 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/File BUILD.bazel

[bazel] Add subpackage for libc/src/__support/OSUtil/linux/syscall_wrappers
DeltaFile
+141-1,817utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+1,692-0utils/bazel/llvm-project-overlay/libc/src/__support/OSUtil/linux/syscall_wrappers/BUILD.bazel
+7-7utils/bazel/llvm-project-overlay/libc/src/__support/File/BUILD.bazel
+1-1utils/bazel/llvm-project-overlay/libc/startup/linux/BUILD.bazel
+1,841-1,8254 files

LLVM/project 7f47b5e — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/StringUtil BUILD.bazel

[bazel] Add subpackage for libc/src/__support/StringUtil
DeltaFile
+47-0utils/bazel/llvm-project-overlay/libc/src/__support/StringUtil/BUILD.bazel
+1-32utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+1-1utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
+1-1utils/bazel/llvm-project-overlay/libc/src/__support/printf_core/BUILD.bazel
+50-344 files

LLVM/project fb0c20c — llvm/test/Transforms/Attributor light-preserved-analyses.ll

Attributor: Fix light-preserved-analyses.ll with GCC-built opt (#241016)

The printed RequireAnalysisPass type name depends on the host
compiler. GCC omits the defaulted AnalysisManager template argument,
so the check line failed on GCC-built bots. Match it with a regex like
the other pass manager tests.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+1-1llvm/test/Transforms/Attributor/light-preserved-analyses.ll
+1-11 files

LLVM/project 02a9c17 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/net BUILD.bazel

[bazel] Add subpackage for libc/src/__support/net
DeltaFile
+54-0utils/bazel/llvm-project-overlay/libc/src/__support/net/BUILD.bazel
+5-45utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+59-452 files

LLVM/project 62652c4 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/CPP BUILD.bazel

[bazel] Add subpackage for libc/src/__support/macros
DeltaFile
+1,362-1,426utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+52-52utils/bazel/llvm-project-overlay/libc/src/__support/FPUtil/BUILD.bazel
+44-44utils/bazel/llvm-project-overlay/libc/src/__support/CPP/BUILD.bazel
+80-0utils/bazel/llvm-project-overlay/libc/src/__support/macros/BUILD.bazel
+10-10utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
+8-8utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
+1,556-1,54015 files not shown
+1,593-1,57721 files

LLVM/project 0f8f7cd — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/CPP BUILD.bazel

[bazel] Add subpackage for libc/src/__support/macros/properties
DeltaFile
+135-186utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+67-0utils/bazel/llvm-project-overlay/libc/src/__support/macros/properties/BUILD.bazel
+31-31utils/bazel/llvm-project-overlay/libc/src/__support/FPUtil/BUILD.bazel
+9-9utils/bazel/llvm-project-overlay/libc/src/__support/CPP/BUILD.bazel
+6-6utils/bazel/llvm-project-overlay/libc/test/src/__support/FPUtil/BUILD.bazel
+6-6utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
+254-23811 files not shown
+284-26817 files

LLVM/project 9ae6e13 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/fixed_point BUILD.bazel

[bazel] Add subpackage for libc/src/__support/fixed_point
DeltaFile
+40-0utils/bazel/llvm-project-overlay/libc/src/__support/fixed_point/BUILD.bazel
+1-25utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+1-1utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
+42-263 files

LLVM/project 5c88882 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/CPP BUILD.bazel

[bazel] Add subpackage for libc/src/__support/CPP
DeltaFile
+338-617utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+295-0utils/bazel/llvm-project-overlay/libc/src/__support/CPP/BUILD.bazel
+27-27utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
+18-18utils/bazel/llvm-project-overlay/libc/test/src/__support/CPP/BUILD.bazel
+16-16utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
+14-14utils/bazel/llvm-project-overlay/libc/test/src/sys/socket/BUILD.bazel
+708-69217 files not shown
+769-75323 files

LLVM/project adf24f1 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/FPUtil BUILD.bazel

[bazel] Add subpackage for libc/src/__support/FPUtil
DeltaFile
+1,410-1,903utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+501-0utils/bazel/llvm-project-overlay/libc/src/__support/FPUtil/BUILD.bazel
+135-135utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
+40-40utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
+19-19utils/bazel/llvm-project-overlay/libc/test/src/__support/FPUtil/BUILD.bazel
+9-9utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
+2,114-2,1067 files not shown
+2,156-2,14813 files

LLVM/project 2827719 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/__support/File BUILD.bazel

[bazel] Add subpackage for libc/src/__support/File
DeltaFile
+32-116utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+100-0utils/bazel/llvm-project-overlay/libc/src/__support/File/BUILD.bazel
+132-1162 files

LLVM/project 4b412da — llvm/lib/Target/RISCV RISCVInstrInfoP.td RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rvp-simd-64.ll

[RISCV][P-ext] Make v2i32 insert_vector_elt with constant indices legal for RV32.

We can select to an insert_subreg.

The default lowering created a store+load to stack that got folded,
but left behind the stack slot allocation.

Assisted-by: Claude
DeltaFile
+73-47llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+6-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+5-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+84-473 files

LLVM/project 76a523c — llvm/lib/Target/RISCV RISCVVectorPeephole.cpp, llvm/test/CodeGen/RISCV/rvv vmand-to-masked-compare.mir vmerge-peephole.mir

RISCV: Fix ensureDominates crashes on operands without a vreg def

ensureDominates used an unchecked getVRegDef on every register
operand. This crashed on physical register uses or undef vregs. Also
fix dropping an incoming undef flag which would fail the verifier.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+49-0llvm/test/CodeGen/RISCV/rvv/vmerge-peephole.mir
+23-0llvm/test/CodeGen/RISCV/rvv/vmand-to-masked-compare.mir
+8-1llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
+80-13 files

LLVM/project 5cc816a — llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp, llvm/test/Analysis/CostModel/AArch64 cast.ll

[AARCH64][COST]Cost non-pow2 i1 vector bitcast to int

No bitmask lowering for non-pow2 i1 vectors; lanes are extracted and
packed one by one. Price extracts plus N-1 combines instead of a
single cross-bank move.

Required to avoid regressions in non-power-of-2 SLP support

Assisted-by: Cursor

Reviewers: paulwalker-arm, huntergr-arm, sdesmalen-arm, davemgreen

Pull Request: https://github.com/llvm/llvm-project/pull/238357
DeltaFile
+13-0llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+6-0llvm/test/Analysis/CostModel/AArch64/cast.ll
+2-2llvm/test/Transforms/VectorCombine/AArch64/icmp-vector-reduce.ll
+21-23 files

LLVM/project ebb1565 — llvm/include/llvm/IR RuntimeLibcallsImpl.td RuntimeLibcalls.td, llvm/lib/IR RuntimeLibcalls.cpp

RuntimeLibcalls: Move divrem attributes to TableGen

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+0-21llvm/lib/IR/RuntimeLibcalls.cpp
+2-0llvm/include/llvm/IR/RuntimeLibcalls.td
+1-0llvm/include/llvm/IR/RuntimeLibcallsImpl.td
+3-213 files

LLVM/project f52a50d — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls systemz.ll bsd.ll

RuntimeLibcalls: Add missing attributes to memory and allocator libcalls

Add the attributes inferLibFuncAttributes would give these functions.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+69-26llvm/include/llvm/IR/RuntimeLibcalls.td
+49-35llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+46-36llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+36-28llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+27-21llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+18-14llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+245-16015 files not shown
+415-28021 files

LLVM/project 8ca0f31 — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls divmod.ll

RuntimeLibcalls: Annotate divrem libcall remainder out arguments

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+16-5llvm/include/llvm/IR/RuntimeLibcalls.td
+3-2llvm/test/Transforms/Util/DeclareRuntimeLibcalls/divmod.ll
+19-72 files

LLVM/project e9421b7 — llvm/include/llvm/IR RuntimeLibcalls.td RuntimeLibcallsImpl.td, llvm/lib/IR RuntimeLibcalls.cpp

RuntimeLibcalls: Move malloc, calloc and free attributes to TableGen

This requires new attribute plumbing for attributes that have an
argument value.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+2-70llvm/lib/IR/RuntimeLibcalls.cpp
+59-11llvm/test/TableGen/RuntimeLibcallEmitter-attributes.td
+38-18llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp
+28-5llvm/include/llvm/IR/RuntimeLibcallsImpl.td
+24-3llvm/include/llvm/IR/RuntimeLibcalls.td
+20-0llvm/test/TableGen/RuntimeLibcallEmitter-attributes-errors.td
+171-1072 files not shown
+179-1128 files