LLVM/project 891175c — llvm/lib/IR AsmWriter.cpp, llvm/test/Assembler avr-calling-conventions.ll

IR: Remove trailing space from printed AVR calling convention names

avr_intrcc and avr_signalcc were printed with a trailing space, which
produced a double space before the return type.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+10-0llvm/test/Assembler/avr-calling-conventions.ll
+6-2llvm/lib/IR/AsmWriter.cpp
+16-22 files

LLVM/project f2eca8d — llvm/test/CodeGen/X86 peephole.mir

Merge branch 'users/void/asm-rm-4-regallocfast-fold' into users/void/asm-rm-5-prefer-reg
DeltaFile
+14-13llvm/test/CodeGen/X86/peephole.mir
+14-131 files

LLVM/project 60a84f0 — llvm/test/CodeGen/X86 peephole.mir

Merge branch 'users/void/asm-rm-2f-peephole-asm-load-fold' into users/void/asm-rm-3-direct-mem-output-error
DeltaFile
+14-13llvm/test/CodeGen/X86/peephole.mir
+14-131 files

LLVM/project 66248cf — llvm/test/CodeGen/X86 peephole.mir

Merge branch 'users/void/asm-rm-2e-fold-asm-memoperands' into users/void/asm-rm-2f-peephole-asm-load-fold
DeltaFile
+14-13llvm/test/CodeGen/X86/peephole.mir
+14-131 files

LLVM/project 4dbb824 — llvm/test/CodeGen/X86 peephole.mir

Merge branch 'users/void/asm-rm-3-direct-mem-output-error' into users/void/asm-rm-4-regallocfast-fold
DeltaFile
+14-13llvm/test/CodeGen/X86/peephole.mir
+14-131 files

LLVM/project 93ec69f — llvm/test/CodeGen/X86 peephole.mir

Merge branch 'users/void/asm-rm-2c-fold-subreg-offset' into users/void/asm-rm-2d-prefer-spilling-foldable
DeltaFile
+14-13llvm/test/CodeGen/X86/peephole.mir
+14-131 files

LLVM/project 9eb25e7 — llvm/test/CodeGen/X86 peephole.mir

Merge branch 'users/void/asm-rm-2d-prefer-spilling-foldable' into users/void/asm-rm-2e-fold-asm-memoperands
DeltaFile
+14-13llvm/test/CodeGen/X86/peephole.mir
+14-131 files

LLVM/project 6818e4e — llvm/test/CodeGen/X86 peephole.mir

Generate peephole.mir's checks

The hand-written checks pinned vreg numbers. The generated ones check the
whole output, so func's CHECK-NOT is covered by its CHECK-NEXT lines.

Assisted-by: Claude Opus 5.5
DeltaFile
+14-13llvm/test/CodeGen/X86/peephole.mir
+14-131 files

LLVM/project 093d220 — llvm/test/CodeGen/X86 peephole.mir

Merge branch 'users/void/asm-rm-2-fold-tied-operands' into users/void/asm-rm-2b-fold-all-reg-operands
DeltaFile
+14-13llvm/test/CodeGen/X86/peephole.mir
+14-131 files

LLVM/project 282592c — llvm/test/CodeGen/X86 peephole.mir

Merge branch 'users/void/asm-rm-2b-fold-all-reg-operands' into users/void/asm-rm-2c-fold-subreg-offset
DeltaFile
+14-13llvm/test/CodeGen/X86/peephole.mir
+14-131 files

LLVM/project 6d0830b — llvm/lib/Target/RISCV RISCVInstrInfoY.td RISCVRegisterInfo.td, llvm/test/MC/RISCV/rvy rvyc-valid-load-store-64.s rvyc-invalid-load-store.s

[nspr] initial commit
DeltaFile
+465-0llvm/test/MC/RISCV/rvy/rvyc-valid-load-store.s
+175-0llvm/test/MC/RISCV/rvy/rvy-valid-load-store.s
+159-0llvm/test/MC/RISCV/rvy/rvyc-invalid-load-store.s
+69-35llvm/lib/Target/RISCV/RISCVRegisterInfo.td
+86-0llvm/lib/Target/RISCV/RISCVInstrInfoY.td
+86-0llvm/test/MC/RISCV/rvy/rvyc-valid-load-store-64.s
+1,040-3513 files not shown
+1,258-5119 files

LLVM/project 60e054d — llvm/include/llvm/AsmParser LLToken.h, llvm/lib/AsmParser LLLexer.cpp LLParser.cpp

IR: Add avr_builtincc calling convention keyword

AVR_BUILTIN had no textual IR name so it was printed as "cc86". Use
the same avr_builtincc spelling the MLIR LLVM dialect already uses for
this calling convention.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+4-4llvm/test/Transforms/Util/DeclareRuntimeLibcalls/avr.ll
+4-0llvm/test/Bitcode/compatibility.ll
+4-0llvm/lib/AsmParser/LLParser.cpp
+3-0llvm/lib/IR/AsmWriter.cpp
+1-0llvm/lib/AsmParser/LLLexer.cpp
+1-0llvm/include/llvm/AsmParser/LLToken.h
+17-46 files

LLVM/project f1d6370 — clang/test/OpenMP atomic_compare_codegen.cpp, llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Merge branch 'users/void/asm-rm-3-direct-mem-output-error' into users/void/asm-rm-4-regallocfast-fold
DeltaFile
+1,627-1,302llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1,165-1,164llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+280-1,577llvm/test/CodeGen/AMDGPU/fmul-to-ldexp.ll
+440-1,358clang/test/OpenMP/atomic_compare_codegen.cpp
+1,727-0llvm/test/Transforms/SLPVectorizer/AArch64/sibling-loops-unknown-trip-counts.ll
+800-801mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+6,039-6,2021,015 files not shown
+45,077-24,6911,021 files

LLVM/project 47d8173 — llvm/test/CodeGen/X86 peephole.mir

Fold the load folding tests into peephole.mir

They join the undef-use test there, and get the test_ prefix.

Assisted-by: Claude Opus 5.5
DeltaFile
+86-0llvm/test/CodeGen/X86/peephole.mir
+86-01 files

LLVM/project 541dae7 — clang/test/OpenMP atomic_compare_codegen.cpp, llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Merge branch 'users/void/asm-rm-4-regallocfast-fold' into users/void/asm-rm-5-prefer-reg
DeltaFile
+1,627-1,302llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1,165-1,164llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+280-1,577llvm/test/CodeGen/AMDGPU/fmul-to-ldexp.ll
+440-1,358clang/test/OpenMP/atomic_compare_codegen.cpp
+1,727-0llvm/test/Transforms/SLPVectorizer/AArch64/sibling-loops-unknown-trip-counts.ll
+800-801mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+6,039-6,2021,015 files not shown
+45,077-24,6911,021 files

LLVM/project d04efec — clang/test/OpenMP atomic_compare_codegen.cpp, llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Merge branch 'users/void/asm-rm-2f-peephole-asm-load-fold' into users/void/asm-rm-3-direct-mem-output-error
DeltaFile
+1,627-1,302llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1,165-1,164llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+280-1,577llvm/test/CodeGen/AMDGPU/fmul-to-ldexp.ll
+440-1,358clang/test/OpenMP/atomic_compare_codegen.cpp
+1,727-0llvm/test/Transforms/SLPVectorizer/AArch64/sibling-loops-unknown-trip-counts.ll
+800-801mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+6,039-6,2021,015 files not shown
+45,077-24,6911,021 files

LLVM/project 5535239 — clang/test/OpenMP atomic_compare_codegen.cpp, llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Merge branch 'users/void/asm-rm-2d-prefer-spilling-foldable' into users/void/asm-rm-2e-fold-asm-memoperands
DeltaFile
+1,627-1,302llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1,165-1,164llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+280-1,577llvm/test/CodeGen/AMDGPU/fmul-to-ldexp.ll
+440-1,358clang/test/OpenMP/atomic_compare_codegen.cpp
+1,727-0llvm/test/Transforms/SLPVectorizer/AArch64/sibling-loops-unknown-trip-counts.ll
+800-801mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+6,039-6,2021,015 files not shown
+44,991-24,6091,021 files

LLVM/project f584c9a — clang/test/OpenMP atomic_compare_codegen.cpp, llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Merge branch 'users/void/asm-rm-2c-fold-subreg-offset' into users/void/asm-rm-2d-prefer-spilling-foldable
DeltaFile
+1,627-1,302llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1,165-1,164llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+280-1,577llvm/test/CodeGen/AMDGPU/fmul-to-ldexp.ll
+440-1,358clang/test/OpenMP/atomic_compare_codegen.cpp
+1,727-0llvm/test/Transforms/SLPVectorizer/AArch64/sibling-loops-unknown-trip-counts.ll
+800-801mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+6,039-6,2021,015 files not shown
+44,991-24,6091,021 files

LLVM/project 7c74dca — clang/test/OpenMP atomic_compare_codegen.cpp, llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Merge branch 'users/void/asm-rm-2e-fold-asm-memoperands' into users/void/asm-rm-2f-peephole-asm-load-fold
DeltaFile
+1,627-1,302llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1,165-1,164llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+280-1,577llvm/test/CodeGen/AMDGPU/fmul-to-ldexp.ll
+440-1,358clang/test/OpenMP/atomic_compare_codegen.cpp
+1,727-0llvm/test/Transforms/SLPVectorizer/AArch64/sibling-loops-unknown-trip-counts.ll
+800-801mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+6,039-6,2021,015 files not shown
+44,991-24,6911,021 files

LLVM/project b9bd79d — clang/test/OpenMP atomic_compare_codegen.cpp, llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Merge branch 'users/void/asm-rm-2b-fold-all-reg-operands' into users/void/asm-rm-2c-fold-subreg-offset
DeltaFile
+1,627-1,302llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1,165-1,164llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+280-1,577llvm/test/CodeGen/AMDGPU/fmul-to-ldexp.ll
+440-1,358clang/test/OpenMP/atomic_compare_codegen.cpp
+1,727-0llvm/test/Transforms/SLPVectorizer/AArch64/sibling-loops-unknown-trip-counts.ll
+800-801mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+6,039-6,2021,015 files not shown
+44,991-24,6091,021 files

LLVM/project f0c467c — llvm/test/CodeGen/X86 peephole.mir peephole-inline-asm-fold.mir

Fold the undef-use test into peephole.mir

A separate file costs an llc run for one function. Run the file with
-passes while here.

Assisted-by: Claude Opus 5.5
DeltaFile
+0-26llvm/test/CodeGen/X86/peephole-inline-asm-fold.mir
+21-1llvm/test/CodeGen/X86/peephole.mir
+21-272 files

LLVM/project cd06067 — clang/test/OpenMP atomic_compare_codegen.cpp, llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Merge branch 'users/void/asm-rm-2-fold-tied-operands' into users/void/asm-rm-2b-fold-all-reg-operands
DeltaFile
+1,627-1,302llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1,165-1,164llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+280-1,577llvm/test/CodeGen/AMDGPU/fmul-to-ldexp.ll
+440-1,358clang/test/OpenMP/atomic_compare_codegen.cpp
+1,727-0llvm/test/Transforms/SLPVectorizer/AArch64/sibling-loops-unknown-trip-counts.ll
+800-801mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+6,039-6,2021,015 files not shown
+44,991-24,6091,021 files

LLVM/project 21701ed — llvm/lib/Target/RISCV RISCVProcessors.td

[RISCV] Remove TuneConditionalCompressedMoveFusion from sifive-p870-d. (#245766)

This feature has been disabled in some sifive-p870-d implementations.
When hardware doesn't support this optimization, the branch is treated
as a normal branch and may mispredict. Disable the tuning feature so
that we will use Zicond instructions instead.
DeltaFile
+0-1llvm/lib/Target/RISCV/RISCVProcessors.td
+0-11 files

LLVM/project 92ec4e8 — llvm/lib/Target/AMDGPU GCNSubtarget.h GCNFeatures.td

[NFC][AMDGPU] Make DsAtomicAsyncBarrierArriveB64PipeBug a target feature

Fixes LCOMPILER-3199.

This PR was assisted by AI but I reviewed all the changes.
DeltaFile
+10-0llvm/lib/Target/AMDGPU/GCNFeatures.td
+0-6llvm/lib/Target/AMDGPU/GCNSubtarget.h
+10-62 files

LLVM/project eabeddd — llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp, llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv legalize-extract-subvector.mir legalize-insert-subvector.mir

[GISel] Use CastTy.getElementType() in LLT::vector calls in bitcastExtractSubvector/bitcastInsertSubvector.

This avoids creating a vector s types on targets that use extended LLTs.

Assisted-by: Claude
DeltaFile
+16-16llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-insert-subvector.mir
+10-10llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-extract-subvector.mir
+6-3llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+32-293 files

LLVM/project c70b6de — llvm/lib/Target/RISCV/GISel RISCVLegalizerInfo.cpp, llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv legalize-store.mir legalize-load.mir

[RISCV][GISel] Use LLT::integer when promoting i1 vectors to i8. (#245717)

Assisted-by: Claude
DeltaFile
+12-10llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
+8-8llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-insert-subvector.mir
+6-6llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-store.mir
+6-6llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-load.mir
+6-6llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-extract-subvector.mir
+38-365 files

LLVM/project 6814d1f — llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv legalize-icmp.mir legalize-zext.mir

[RISCV][GISel] Use concrete types in RVV legalizer tests. NFC (#245683)

Assisted-by: Claude
DeltaFile
+856-856llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-insertelement-rv64.mir
+853-853llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-insertelement-rv32.mir
+638-638llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-zext.mir
+638-638llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-sext.mir
+638-638llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-anyext.mir
+331-331llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-icmp.mir
+3,954-3,95420 files not shown
+6,757-6,75626 files

LLVM/project 8ff99e0 — clang/test/CIR/CodeGen call-conv-lowering-spirv-target.c, clang/test/CodeGenCUDASPIRV kernel-args-abi.cu

[CIR] Enable CallConvLowering for SPIRV triples (#244409)

This PR adds support of spirv* triples to clang CIR pipeline:

- Map `spirv`, `spirv32` and `spirv64` triples (excluding AMD-vendor
SPIR-V, HLSL, and OpenMP device code) to the SPIR-V ABI target in the
clang pipeline, so `cir-call-conv-lowering` pass runs by default for
SPIR-V device code.
- Add clang tests that check SPIR-V argument types, return types, C++
records, SYCL and CUDA kernel arguments, and the Intel vendor triple
against classic codegen, plus a test of which SPIR-V triples run the
pass. Add ClangIR RUN lines to the existing SPIR-V kernel ABI tests.

Assisted by: Claude Opus 5.5
DeltaFile
+115-0clang/test/CodeGenSPIRV/abi-classify-arg-types.c
+83-17clang/test/CodeGenSPIRV/abi-lowering.cpp
+84-0clang/test/CodeGenSPIRV/abi-classify-return-types.c
+80-0clang/test/CodeGenSYCL/spirv-kernel-args-abi.cpp
+44-0clang/test/CodeGenCUDASPIRV/kernel-args-abi.cu
+37-0clang/test/CIR/CodeGen/call-conv-lowering-spirv-target.c
+443-1710 files not shown
+508-3316 files

LLVM/project 5b46930 — flang/include/flang/Optimizer/OpenACC/Analysis FIROpenACCSupportAnalysis.h, flang/lib/Optimizer/OpenACC/Analysis FIROpenACCSupportAnalysis.cpp

[acc][flang] Query whether a call captures a variable address (#245415)

`OpenACCSupport::isAddressNotCapturedByCalls` reports whether a call
that receives a variable can still use that address after it returns.
The method is optional. The default is false, so the address may be kept
and a client treats the call as an escape.

The FIR implementation answers from the variable's fir.declare. The
result is true for a Fortran user variable that is not TARGET or
POINTER, not host-associated, not accessible to an internal procedure,
and not asynchronous or volatile. intent(in) does not change the result.
A value that is not a Fortran user variable returns false.
DeltaFile
+210-1flang/unittests/Optimizer/OpenACC/FIROpenACCSupportAnalysisTest.cpp
+39-0flang/lib/Optimizer/OpenACC/Analysis/FIROpenACCSupportAnalysis.cpp
+30-0mlir/include/mlir/Dialect/OpenACC/Analysis/OpenACCSupport.h
+4-0flang/include/flang/Optimizer/OpenACC/Analysis/FIROpenACCSupportAnalysis.h
+283-14 files

LLVM/project ec3f1b3 — flang/lib/Semantics check-omp-structure.cpp check-omp-structure.h, flang/test/Semantics/OpenMP metadirective-reachable-variants.f90

[flang][OpenMP] Rank METADIRECTIVEs nested in BEGIN METADIRECTIVE

Inside the body of a BEGIN METADIRECTIVE, semantics does not know which
replacement encloses the code, so it checks every replacement of an
inner METADIRECTIVE against its loop. In

  !$omp parallel
  !$omp begin metadirective &
  !$omp& when(implementation={vendor(llvm)}: target) otherwise(nothing)
    !$omp metadirective &
    !$omp& when(construct={parallel}: simd collapse(2)) &
    !$omp& otherwise(nothing)
    do i = 1, n
    end do
  !$omp end metadirective
  !$omp end parallel

the region always selects TARGET, which hides the enclosing PARALLEL,
so the inner METADIRECTIVE always selects NOTHING. The SIMD is still

    [13 lines not shown]
DeltaFile
+93-32flang/lib/Semantics/check-omp-variant.cpp
+56-0flang/test/Semantics/OpenMP/metadirective-reachable-variants.f90
+10-3flang/lib/Semantics/check-omp-structure.cpp
+12-1flang/lib/Semantics/check-omp-structure.h
+171-364 files