[llvm] [AMDGPU] Add mark last scratch load pass (PR #75512)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 17 22:49:23 PST 2023


================
@@ -1491,6 +1491,8 @@ void TargetPassConfig::addOptimizedRegAlloc() {
   addPass(&MachineSchedulerID);
 
   if (addRegAssignAndRewriteOptimized()) {
+    addPreStackSlotColoring();
----------------
arsenm wrote:

I'd assume you could just put this in addRegAssignAndRewriteOptimized

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


More information about the llvm-commits mailing list