[llvm] [AMDGPU] Support true16 spill restore with sram-ecc (PR #165320)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 30 15:48:44 PDT 2025


================
@@ -1823,6 +1823,16 @@ void SIRegisterInfo::buildSpillLoadStore(
       }
     }
 
+    Register FinalValueReg = ValueReg;
+    if (LoadStoreOp == AMDGPU::SCRATCH_LOAD_USHORT_SADDR) {
+      // If we are loading 16-bit value with SRAMECC endabled we need a temp
----------------
rampitec wrote:

We do not have V8 spills.

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


More information about the llvm-commits mailing list