LLVM/project 8462479 — clang/lib/Support RISCVVIntrinsicUtils.cpp

[RISCV] Fix unintentional overlap in RVVTypeCache::computeTypes. (#245839)

The TM field was changed from uint8_t to uint16_t when the AltFP8 bit
was added in June.
DeltaFile
+2-2clang/lib/Support/RISCVVIntrinsicUtils.cpp
+2-21 files

LLVM/project 0588652 — llvm/lib/Analysis VectorUtils.cpp, llvm/test/Transforms/CodeGenPrepare/X86 vec-shift.ll

[VectorUtils] Recognize scalar-condition selects of splats (#245362)

`isSplatValue` required the condition of a `select` to be a splat as
well, so it rejected

```llvm
select i1 %c, <8 x i1> splat (i1 true), <8 x i1> zeroinitializer
```

although a scalar condition picks a whole operand. Only require a vector
condition to be a splat.

MLIR lowers the row masks of 2-D masked vector reads to this form,
including masks from the Linalg vectorizer. `ScalarizeMaskedMemIntrin`
uses its single-branch path (#104537) only for splat masks, so on NVPTX
these loads and stores were expanded lane by lane.

With this change each row becomes one conditional vector access: with a
known alignment, rows are loaded with `LDG.E.128` instead of scalar

    [38 lines not shown]
DeltaFile
+66-0llvm/test/Transforms/CodeGenPrepare/X86/vec-shift.ll
+55-0llvm/unittests/Analysis/VectorUtilsTest.cpp
+18-0llvm/test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-load.ll
+17-0llvm/test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-store.ll
+5-3llvm/lib/Analysis/VectorUtils.cpp
+161-35 files

LLVM/project ac86d01 — llvm/test/CodeGen/AMDGPU/GlobalISel llvm.amdgcn.struct.tbuffer.load.f16.ll llvm.amdgcn.struct.tbuffer.load.ll

[AMDGPU][GlobalISel] Use v_cmpx/s_andn2_wrexec form in RegBankLegalize waterfall loops

Port the UseNewExecInstructions path from SIInstrInfo's waterfall emission
to RegBankLegalizeHelper::executeInWaterfallLoop. On subtargets with
no-sdst v_cmpx and s_andn2_wrexec, the loop now narrows exec with deferred
V_CMPX_EQ_*_nosdst_e32_term compares and computes the remaining lanes with
S_ANDN2 from an exec PHI, written back by S_MOV_term. SIOptimizeExecMasking
then folds the pair into s_and_not1_wrexec, matching SelectionDAG.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+552-290llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll
+214-228llvm/test/CodeGen/AMDGPU/GlobalISel/regbanklegalize-amdgcn.s.buffer.load.ll
+169-183llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.intersect_ray.ll
+120-120llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll
+134-76llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.tbuffer.load.ll
+126-72llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.tbuffer.load.f16.ll
+1,315-96942 files not shown
+2,512-2,22748 files

LLVM/project 39fe8c5 — mlir/lib/Dialect/Vector/Transforms VectorEmulateNarrowType.cpp, mlir/test/Dialect/Vector vector-emulate-narrow-type-invalid.mlir

[mlir][vector] Do not emulate narrow-type masked Xfer reads (#244883)

`ConvertVectorTransferRead` ignores the mask.
Under `vector.mask`, the new ops are created inside the mask region,
which yields invalid IR.

The pattern now bails out on masked reads.
Supporting them is left as future work.

Part of #239511, as it unifies the behavior of masks. 
RFC:
https://discourse.llvm.org/t/rfc-unify-masking-in-the-vector-dialect/92675

---------

Signed-off-by: Federico Bruzzone <federico.bruzzone.i at gmail.com>
DeltaFile
+11-0mlir/test/Dialect/Vector/vector-emulate-narrow-type-invalid.mlir
+2-0mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
+13-02 files

LLVM/project d6885f4 — libc/benchmarks LibcMemoryBenchmark.h LibcMemoryBenchmarkMain.cpp

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+29-5libc/benchmarks/LibcMemoryBenchmark.cpp
+6-2libc/benchmarks/LibcMemoryBenchmark.h
+7-1libc/benchmarks/LibcMemoryBenchmarkMain.cpp
+42-83 files

LLVM/project e2c8d48 — libc/benchmarks LibcMemoryBenchmark.h LibcMemoryBenchmarkMain.cpp, libc/cmake/modules LLVMLibCCompileOptionRules.cmake

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+29-5libc/benchmarks/LibcMemoryBenchmark.cpp
+17-2libc/src/string/strcmp.cpp
+6-2libc/benchmarks/LibcMemoryBenchmark.h
+7-1libc/benchmarks/LibcMemoryBenchmarkMain.cpp
+4-0libc/config/config.json
+1-0libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
+64-106 files

LLVM/project ecac0cc — clang/lib/Basic/Targets Sparc.h Sparc.cpp, llvm/lib/Target/Sparc SparcProcessors.td SparcFeatures.td

[Sparc] Add a SPARC TargetParser generated from Sparc.td (#245165)

Like PowerPC, split the subtarget features and processor definitions
out of Sparc.td into SparcFeatures.td and SparcProcessors.td, and
generate the CPU and feature tables for the TargetParser from them
with -gen-target-features.

Use it for the backend's default CPU, and in Clang for the list of
valid CPUs and each CPU's default features, instead of keeping a
separate CPU table in Clang. initFeatureMap() now starts from the
CPU's default features, and handleTargetFeatures() records V9, LEON
and LEON CASA support from the resulting feature list.

Clang now accepts every CPU the backend knows about, adding generic,
v7, myriad2, myriad2.1, myriad2.2 and myriad2.3. The Myriad 2 CPUs
now also define __leon__, as the backend treats them as LEON CPUs.

V7 does not get the V8 macros (__sparcv8, __sparcv8__ and
__sparc_v8__), as it lacks the integer multiply and divide

    [2 lines not shown]
DeltaFile
+2-225llvm/lib/Target/Sparc/Sparc.td
+47-140clang/lib/Basic/Targets/Sparc.cpp
+138-0llvm/lib/Target/Sparc/SparcFeatures.td
+103-0llvm/lib/Target/Sparc/SparcProcessors.td
+19-81clang/lib/Basic/Targets/Sparc.h
+87-0llvm/unittests/TargetParser/SparcTargetParserTest.cpp
+396-44610 files not shown
+581-47916 files

LLVM/project 27d0a96 — libc/benchmarks LibcMemoryBenchmark.h LibcMemoryBenchmarkMain.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+29-5libc/benchmarks/LibcMemoryBenchmark.cpp
+6-2libc/benchmarks/LibcMemoryBenchmark.h
+7-1libc/benchmarks/LibcMemoryBenchmarkMain.cpp
+42-83 files

LLVM/project 16466d9 — llvm/lib/Target/AMDGPU AMDGPUCoExecInfo.h AMDGPUTargetMachine.cpp, llvm/test/CodeGen/AMDGPU coexec-mfma-interleave-gfx950.mir coexec-sched-warning.mir

[AMDGPU] Add MFMA co-exec rows for gfx942 MFMAs

Add MFMA co-exec rows for gfx942 MFMAs for both gfx942 and gfx950.
Gfx950 support gfx942 mfma opcodes as well as others.

Add rows for:

XDL_2Pass:
  v_mfma_f32_4x4x4_16b_{f16,bf16}
  v_mfma_i32_4x4x4_16b_i8

XDL_4Pass:
  v_mfma_f32_16x16x16_{f16,bf16}
  v_mfma_i32_16x16x32_i8
  v_mfma_f32_16x16x8_xf32 (gfx942 only)
  v_mfma_f32_16x16x32_{bf8,fp8}_{bf8,fp8}

XDL_8Pass:
  v_mfma_f32_16x16x4_4b_{f16,bf16}

    [44 lines not shown]
DeltaFile
+37-13llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+15-13llvm/unittests/Target/AMDGPU/MFMACoExecRules.cpp
+6-5llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+3-3llvm/lib/Target/AMDGPU/AMDGPUCoExecInfo.h
+2-2llvm/test/CodeGen/AMDGPU/coexec-sched-warning.mir
+1-1llvm/test/CodeGen/AMDGPU/coexec-mfma-interleave-gfx950.mir
+64-372 files not shown
+66-398 files

LLVM/project f7d5ce7 — llvm/test/CodeGen/AMDGPU coexec-sched-warning.mir coexec-mfma-interleave-gfx942.mir, llvm/unittests/Target/AMDGPU MFMACoExecRules.cpp

[AMDGPU] Precommit legacy MFMA co-exec tests (NFC)

Add coexec scheduler cases for a gfx940 SMFMAC
(v_smfmac_f32_16x16x32_f16) on gfx950 and for a DGEMM
(v_mfma_f64_16x16x4_f64) on gfx942 and gfx950, a gfx942 RUN line in
coexec-sched-warning.mir, and unit test rows for one MFMA per legacy
variant on gfx950 plus v_mfma_f64_16x16x4_f64 on gfx942.

The legacy variants fall back to a permissive window that lets anything
co-execute. v_mfma_f64_16x16x4_f64 uses its gfx950 rule on gfx942 as
well, and gfx942 does not enable the co-exec model yet, so it warns and
its scheduler case runs without the model.

Assisted-by: Claude Opus 5.5
DeltaFile
+66-0llvm/test/CodeGen/AMDGPU/coexec-mfma-interleave-gfx950.mir
+50-0llvm/test/CodeGen/AMDGPU/coexec-mfma-interleave-gfx942.mir
+11-0llvm/unittests/Target/AMDGPU/MFMACoExecRules.cpp
+2-0llvm/test/CodeGen/AMDGPU/coexec-sched-warning.mir
+129-04 files

LLVM/project 411da93 — llvm/lib/Target/Mips MipsISelLowering.cpp, llvm/test/CodeGen/Mips inlineasm-explicit-gpr-mips16.ll inlineasm-explicit-gpr.ll

[Mips] Always use GPRs for $0-$31 inline asm register constraints (#244995)

An inline asm operand bound to $0-$31 (e.g. a local register variable
declared with asm("$8")) picked its register class with getRegClassFor()
on the operand type and then indexed that class by the register number.

This crashed for types with no native register class (i1, i8, i16, and
i64 on 32-bit targets), put float and double operands in FPRs ($8 became
$f8 for float and $f16 for double), and picked the wrong register in
MIPS16 mode, where the i32 class does not start at $0 ($2 became $4).

$0-$31 always name GPRs, so use GPR32 or GPR64 directly, like the 'r'
constraint does.

Fixes #243034

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+229-0llvm/test/CodeGen/Mips/inlineasm-explicit-gpr.ll
+24-0llvm/test/CodeGen/Mips/inlineasm-explicit-gpr-mips16.ll
+10-1llvm/lib/Target/Mips/MipsISelLowering.cpp
+263-13 files

LLVM/project e10e94b — llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU coexec-mfma-interleave-gfx950.mir

[AMDGPU] Fix gfx950/gfx942 TRANS co-execute slot

On gfx950/gfx942, fix TRANS co-exec slot to be same as VALU.

Excluded from this commit:

  TRANS on gfx950 (in unit of hardware cycle):
    Reciprocal throughput (per SIMD):
      f32/f16: 8
      f64:     16
    Def-to-use latency:
      f32/f16: 12 to a non-TRANS reader, 8 to a TRANS reader
      f64:     20 to a non-TRANS reader, 16 to a TRANS reader
    Blocks this wave's issue for:
      f32/f16: 8
      f64:     16
  On gfx942, f32/f16 have the same numbers as f64 above.

Currently, GCNHazardRecognizer inserts the correct s_nop between a TRANS

    [5 lines not shown]
DeltaFile
+1-1llvm/test/CodeGen/AMDGPU/coexec-mfma-interleave-gfx950.mir
+1-1llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+2-0llvm/unittests/Target/AMDGPU/MFMACoExecRules.cpp
+4-23 files

LLVM/project ec7e3b7 — llvm/test/CodeGen/AMDGPU coexec-mfma-interleave-gfx950.mir

[AMDGPU] Precommit TRANS co-exec tests (NFC)

Add a gfx950 coexec scheduler case where a v_exp_f32 and a v_add_f32
compete for the window of an XDL2x (v_mfma_f32_16x16x32_bf16) MFMA.
No MFMA row allows TRANS so far, so the v_exp_f32 issues after the
MFMA window.

Assisted-by: Claude Opus 5.5

DeltaFile
+18-0llvm/test/CodeGen/AMDGPU/coexec-mfma-interleave-gfx950.mir
+18-01 files

LLVM/project 07d7dd7 — llvm/lib/Target/AMDGPU AMDGPUCoExecInfo.h AMDGPUCoExecSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU coexec-mfma-interleave-gfx950.mir

[AMDGPU] Fix gfx950/gfx942 v_pk f32 instr co-exec slot

On gfx950/gfx942, v_pk f32 instrs can issue only after the MFMA's own
cycles (in hardware cycles):
  XDL/SMFMAC: 8 cycles
  XDL2x/SMFMAC2x: 12 cycles
  SGEMM/DGEMM: 8 cycles

Currently they are categorized as VALU. This is wrong for
XDL/SMFMAC/XDL2x/SMFMAC2x, since VALU can issue within the MFMA's own
cycles.

Fix this by adding a PK_F32 CoExecMask bit, a PK_F32 slot in each MFMA
row, and a PackedF32VALU InstructionFlavor. Classify the following
instrs as PackedF32VALU on gfx942/gfx950:

V_PK_{ADD,FMA,MUL}_F32, V_PK_MOV_B32.

NFC for gfx1250.

    [3 lines not shown]
DeltaFile
+35-21llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+23-21llvm/unittests/Target/AMDGPU/MFMACoExecRules.cpp
+16-8llvm/lib/Target/AMDGPU/AMDGPUCoExecInfo.h
+1-1llvm/test/CodeGen/AMDGPU/coexec-mfma-interleave-gfx950.mir
+75-514 files

LLVM/project 35a9290 — llvm/test/CodeGen/AMDGPU coexec-mfma-interleave-gfx950.mir, llvm/unittests/Target/AMDGPU MFMACoExecRules.cpp

[AMDGPU] Precommit packed F32 co-exec tests (NFC)

Add a gfx950 coexec scheduler case where a v_pk_add_f32 and a v_add_f32
compete for the window of an XDL2x (v_mfma_f32_16x16x32_bf16) MFMA, and
a unit test for the co-execution class of the packed F32 instructions
and v_pk_add_f16. Packed F32 VALU is treated as plain VALU so far.

Assisted-by: Claude Opus 5.5
DeltaFile
+35-0llvm/unittests/Target/AMDGPU/MFMACoExecRules.cpp
+18-0llvm/test/CodeGen/AMDGPU/coexec-mfma-interleave-gfx950.mir
+53-02 files

LLVM/project 34f5121 — mlir/lib/Dialect/Vector/Transforms SubsetOpInterfaceImpl.cpp, mlir/test/Transforms loop-invariant-subset-hoisting.mlir

[mlir][vector] Do not hoist masked Xfers as plain subset extractions (#244557)

`-loop-invariant-subset-hoisting` treats a masked `vector.transfer_read`
as a plain subset extraction. However, a masked Xfer doesn't access its
whole slice.

With this PR the `SubsetOpInterface` returns `failure` for the slice and
answers _not equivalent_ and _not provably disjoint_, so the pass leaves
it in the loop.

Part of #239511.
RFC:
https://discourse.llvm.org/t/rfc-unify-masking-in-the-vector-dialect/92675

---------

Signed-off-by: Federico Bruzzone <federico.bruzzone.i at gmail.com>
DeltaFile
+48-0mlir/test/Transforms/loop-invariant-subset-hoisting.mlir
+25-0mlir/lib/Dialect/Vector/Transforms/SubsetOpInterfaceImpl.cpp
+73-02 files

LLVM/project ebb7620 — llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU coexec-mfma-interleave-gfx950.mir

[AMDGPU] Fix gfx950 MFMA co-exec rows for XDL2x_8Pass, SMFMAC2x, DGEMM

Fix the co-exec rows for the following instructions:

XDL2x_8Pass:
  v_mfma_f32_32x32x16_f16
  v_mfma_f32_32x32x16_bf16
  v_mfma_i32_32x32x32_i8
  v_mfma_f32_32x32x64_f8f6f4 and v_mfma_scale_f32_32x32x64_f8f6f4
  with no fp8/bf8 operand

SMFMAC2x_4Pass:
  v_smfmac_f32_16x16x64_f16
  v_smfmac_f32_16x16x64_bf16
  v_smfmac_i32_16x16x128_i8
  v_smfmac_f32_16x16x128_{bf8,fp8}_{bf8,fp8}

SMFMAC2x_8Pass:
  v_smfmac_f32_32x32x32_f16

    [8 lines not shown]
DeltaFile
+8-4llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+4-4llvm/unittests/Target/AMDGPU/MFMACoExecRules.cpp
+1-1llvm/test/CodeGen/AMDGPU/coexec-mfma-interleave-gfx950.mir
+13-93 files

LLVM/project c31da03 — llvm/test/CodeGen/AMDGPU coexec-mfma-interleave-gfx950.mir, llvm/unittests/Target/AMDGPU MFMACoExecRules.cpp

[AMDGPU] Precommit gfx950 MFMA co-exec row tests (NFC)

Add a gfx950 coexec scheduler case for v_smfmac_f32_16x16x64_f16, and a
unit test that checks the first co-exec stage of SALU, DS and VMEM, VALU
and the next MFMA for one MFMA per gfx950 variant.

Assisted-by: Claude Opus 5.5
DeltaFile
+36-0llvm/unittests/Target/AMDGPU/MFMACoExecRules.cpp
+18-0llvm/test/CodeGen/AMDGPU/coexec-mfma-interleave-gfx950.mir
+54-02 files

LLVM/project ca14b7c — llvm/lib/Target/WebAssembly WebAssemblySubtarget.cpp WebAssemblyCFGSort.cpp

[WebAssembly] Declare command line options in TableGen (#245068)

Move the options into WebAssemblyOptions.td. LowerEmscriptenEHSjLj has
no TargetMachine and reads them from the module's LLVMContext; other
code reads them through the target machine or subtarget.

-wasm-disable-ehpad-sort is renamed to -wasm-ehpad-sort, with the old
spelling kept as an alias. -enable-emscripten-sjlj, -wasm-enable-sjlj,
-wasm-use-legacy-eh, and -emscripten-cxx-exceptions-allowed are now
listed by -help-hidden instead of -help.

Aided by Opus 5.5
DeltaFile
+57-0llvm/lib/Target/WebAssembly/WebAssemblyOptions.td
+9-39llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+15-19llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
+17-15llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
+10-13llvm/lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
+17-2llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp
+125-8812 files not shown
+187-13118 files

LLVM/project b37dea4 — llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes BundleVec.cpp, llvm/test/Transforms/SandboxVectorizer/Passes/BundleVec pass_return_value.ll

[SandboxVec][BundleVec] Fix pass return value (#245794)

The IR may have changed even if vectorization failed, so this patch
makes sure we revert in that case. This used to cause a crash in
EXPENSIVE_CHECKS.

Same as https://github.com/llvm/llvm-project/pull/245693 but for
BundleVec.
DeltaFile
+22-0llvm/test/Transforms/SandboxVectorizer/Passes/BundleVec/pass_return_value.ll
+8-1llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/BundleVec.cpp
+30-12 files

LLVM/project 2bd247f — llvm/lib/Target/RISCV RISCVInstrGISel.td, llvm/lib/Target/RISCV/GISel RISCVLegalizerInfo.cpp

[RISCV][GlobalISel] Expand FP round without Zfa (#244134)

Without Zfa these were lowered to libcalls, and f16 had no action at all so
llvm.ceil.f16 failed to legalize. Emit G_FROUND instead, so the PseudoFROUND
patterns are imported and emitFROUND does the guarded integer round trip for
both selectors. G_FNEARBYINT and rv32 f64 keep the libcall, since the round
trip raises inexact and rv32 has no 64-bit GPR.
DeltaFile
+514-0llvm/test/CodeGen/RISCV/GlobalISel/fp-round-f16.ll
+150-75llvm/test/CodeGen/RISCV/GlobalISel/float-intrinsics.ll
+66-30llvm/test/CodeGen/RISCV/GlobalISel/double-intrinsics.ll
+88-4llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
+14-15llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir
+12-0llvm/lib/Target/RISCV/RISCVInstrGISel.td
+844-1242 files not shown
+856-1248 files

LLVM/project 40cc2ef — llvm CMakeLists.txt, llvm/cmake/modules GetHostTriple.cmake HandleLLVMOptions.cmake

[SystemZ] Disable threads for z/OS (#242055)

Redo of https://github.com/llvm/llvm-project/pull/238203. I missed the
`${...}` around the variable. Corrected the code.
DeltaFile
+11-4llvm/CMakeLists.txt
+3-3llvm/cmake/modules/HandleLLVMOptions.cmake
+1-1llvm/cmake/modules/GetHostTriple.cmake
+15-83 files

LLVM/project 373d1cb — llvm/docs AMDGPUMemoryModel.md AMDGPUUsage.md

[AMDGPU][docs] define cluster scope and multicast loads (gfx1250) (#225310)

Assisted-By: AI
DeltaFile
+86-10llvm/docs/AMDGPUDMAOperations.md
+65-4llvm/docs/AMDGPUUsage.md
+1-1llvm/docs/AMDGPUMemoryModel.md
+152-153 files

LLVM/project a7f172c — llvm/docs AMDGPUExecutionSynchronization.md AMDGPUMemoryModel.md

[AMDGPU][Docs] barriers, `synchronizes-with` and "one-as" (#243479)

Assisted-by: AI
DeltaFile
+42-32llvm/docs/AMDGPUUsage.md
+1-1llvm/docs/AMDGPUExecutionSynchronization.md
+2-0llvm/docs/AMDGPUMemoryModel.md
+45-333 files

LLVM/project 61e08fb — llvm/docs MemorySSA.md

[Docs] Fixes a display issue caused due to new line in inline code (#236035)

Fixes a display issue in https://llvm.org/docs/MemorySSA.html caused due
to a newline character in inline code syntax

<img width="1702" height="125" alt="image"
src="https://github.com/user-attachments/assets/a841c5cd-ffb2-451a-8a8c-92a10e096cac"
/>
DeltaFile
+2-2llvm/docs/MemorySSA.md
+2-21 files

LLVM/project 4347b28 — llvm/test/CodeGen/AMDGPU/GlobalISel llvm.amdgcn.raw.tbuffer.store.ll regbanklegalize-amdgcn.s.buffer.load.subdword.ll

[AMDGPU][GlobalISel] Use v_cmpx/s_andn2_wrexec form in RegBankLegalize waterfall loops

Port the UseNewExecInstructions path from SIInstrInfo's waterfall emission
to RegBankLegalizeHelper::executeInWaterfallLoop. On subtargets with
no-sdst v_cmpx and s_andn2_wrexec, the loop now narrows exec with deferred
V_CMPX_EQ_*_nosdst_e32_term compares and computes the remaining lanes with
S_ANDN2 from an exec PHI, written back by S_MOV_term. SIOptimizeExecMasking
then folds the pair into s_and_not1_wrexec, matching SelectionDAG.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+552-290llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll
+214-228llvm/test/CodeGen/AMDGPU/GlobalISel/regbanklegalize-amdgcn.s.buffer.load.ll
+169-183llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.intersect_ray.ll
+120-120llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll
+84-96llvm/test/CodeGen/AMDGPU/GlobalISel/regbanklegalize-amdgcn.s.buffer.load.subdword.ll
+81-87llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.tbuffer.store.ll
+1,220-1,00440 files not shown
+2,110-2,15746 files

LLVM/project 42ecdda — llvm/test/CodeGen/AMDGPU failed-reassign-cache.mir

Update llvm/test/CodeGen/AMDGPU/failed-reassign-cache.mir

Co-authored-by: Nathan Corbyn <n_corbyn at apple.com>
DeltaFile
+0-1llvm/test/CodeGen/AMDGPU/failed-reassign-cache.mir
+0-11 files

LLVM/project e096e74 — llvm/lib/Target/AMDGPU VOPInstructions.td VOP3PInstructions.td, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.h AMDGPUBaseInfo.cpp

[AMDGPU] Describe MFMAs with a variant in MAIInstInfoTable (NFC)

- Add an MFMAVariant enum. Each MFMA pseudo gets its variant from
  MAIInstInfoTable, a TableGen GenericTable. Each real MFMA opcode
  inherits the variant of its pseudo through VOP3P_Real.
- Look up an MFMA's co-execution info by its variant, as gfx1250 does
  for WMMA, instead of matching every opcode.
- Replace the is_dgemm and is_gfx940_xdl fields with the variant.
- Describe each MFMA row by the first stage at which SALU, memory, VALU
  and the next MFMA may issue, plus the window length.

Assisted-by: Claude Opus 5.5
DeltaFile
+57-308llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+76-33llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+28-2llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+23-2llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+20-0llvm/unittests/Target/AMDGPU/MFMACoExecRules.cpp
+10-1llvm/lib/Target/AMDGPU/VOPInstructions.td
+214-3466 files

LLVM/project 3d7b593 — llvm/lib/Target/AMDGPU SIInstrInfo.h

[AMDGPU] Exclude real V_ACCVGPR_READ/WRITE_B32_vi opcodes from isMFMA

Currently, only pseudo V_ACCVGPR_{READ,WRITE}_B32_e64 is excluded, fix
by also exclude real V_ACCVGPR_READ/WRITE_B32_vi.
DeltaFile
+9-7llvm/lib/Target/AMDGPU/SIInstrInfo.h
+9-71 files

LLVM/project ec52530 — orc-rt/include/orc-rt/support AllocAction.h, orc-rt/include/orc-rt/support/sps SPSAllocAction.h

[orc-rt] Make AllocAction APIs noexcept (#245814)

Allocation actions report failure via their result (as an out-of-band
error), and should not throw. Mark them noexcept.
DeltaFile
+9-9orc-rt/test/unit/support/sps/SPSAllocActionTest.cpp
+9-7orc-rt/test/unit/support/AllocActionTest.cpp
+9-5orc-rt/include/orc-rt/support/sps/SPSAllocAction.h
+6-6orc-rt/include/orc-rt/support/AllocAction.h
+2-2orc-rt/test/unit/bedrock/sps/SimpleNativeMemoryMapSPSCITest.cpp
+2-2orc-rt/test/unit/bedrock/SimpleNativeMemoryMapTest.cpp
+37-316 files