[llvm] [AMDGPU] Fix for 131386 by reducing implicit definitions on register restoration (PR #133986)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu May 1 04:40:30 PDT 2025


================
@@ -0,0 +1,43 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
+# RUN: llc -mtriple=amdgcn--amdhsa -mcpu=gfx942 -run-pass prologepilog,machine-cp -o - %s | FileCheck -check-prefix=GFX942 %s
+
+--- |
+  define amdgpu_kernel void @agpr_spill_copy() #0 { ret void }
+
+  attributes #0 = { "amdgpu-waves-per-eu"="8" }
----------------
arsenm wrote:

```suggestion
  attributes #0 = { "amdgpu-waves-per-eu"="8,8" }
```

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


More information about the llvm-commits mailing list