[llvm] AMDGPU: Move attributor into optimization pipeline (PR #83131)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 07:31:33 PST 2024


================
@@ -678,6 +678,12 @@ void SIFrameLowering::emitEntryFunctionPrologue(MachineFunction &MF,
         break;
       }
     }
+
+    // FIXME: We can spill incoming arguments and restore at the end of the
+    // prolog.
+    if (!ScratchWaveOffsetReg)
----------------
arsenm wrote:

Kind of. One test hit the assert due to the sgpr limiting attribute 

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


More information about the llvm-commits mailing list