[llvm] [AMDGPU] Support block load/store for CSR (PR #130013)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 23 03:47:30 PDT 2025


================
@@ -388,6 +388,16 @@ class PrologEpilogSGPRSaveRestoreInfo {
   SGPRSaveKind getKind() const { return Kind; }
 };
 
+const MCRegister FirstVGPRBlock = AMDGPU::VReg_1024RegClass.getRegister(0);
----------------
RKSimon wrote:

I'm seeing initialization ordering failures from this - can't we just put it inside the VGPRBlock2IndexFunctor operator?

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


More information about the llvm-commits mailing list