[llvm] [AMDGPU] Ensure non-reserved CSR spilled regs are live-in (PR #146427)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 1 06:40:46 PDT 2025


================
@@ -0,0 +1,126 @@
+; Just ensure that llc -O1 does not error out
+; RUN: llc -O1 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -verify-machineinstrs %s -o - &>/dev/null
----------------
shiltian wrote:

Not sure if that's gonna work but maybe use the IR right before `amdgpu-isel` as the starting point, and then just run `amdgpu-isel` in the test script.

https://github.com/llvm/llvm-project/pull/146427


More information about the llvm-commits mailing list