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

Mirko BrkuĊĦanin via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 16 02:51:58 PST 2024


================
@@ -1658,7 +1658,9 @@ void SIRegisterInfo::buildSpillLoadStore(
       MIB.addReg(SOffset, SOffsetRegState);
     }
 
-    int64_t CPol = AMDGPU::isGFX12Plus(ST) && LastUse ? AMDGPU::CPol::TH_LU : 0;
+    assert((!LastUse || AMDGPU::isGFX12Plus(ST)) &&
+           "last_use operand exists only on GFX12+");
----------------
mbrkusanin wrote:

Removed / no longer using extra operand

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


More information about the llvm-commits mailing list