[PATCH] D25551: AMDGPU: Implement SGPR spilling with scalar stores

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 14 01:45:14 PDT 2016


nhaehnle added inline comments.


================
Comment at: lib/Target/AMDGPU/SIInsertWaits.cpp:626-627
+
+      if (I->getOpcode() == AMDGPU::S_ENDPGM)
+        EndPgmBlocks.push_back(&MBB);
     }
----------------
Please also handle the SI_RETURN case here and below.


https://reviews.llvm.org/D25551





More information about the llvm-commits mailing list