[llvm] [AMDGPU] Add writelane and readlane pseudos for SGPR spilling (PR #69923)

Carl Ritson via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 20:50:40 PDT 2023


================
@@ -875,6 +875,25 @@ defm SI_SPILL_S384 : SI_SPILL_SGPR <SReg_384>;
 defm SI_SPILL_S512 : SI_SPILL_SGPR <SReg_512>;
 defm SI_SPILL_S1024 : SI_SPILL_SGPR <SReg_1024>;
 
+let SGPRSpill = 1 in {
----------------
perlfu wrote:

Do we need to be marking these as isConvergent to match existing behaviour?
I think the answer is probably no as they have much narrower scope that v_readlane/v_writelane, but are still cross-lane operations. 

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


More information about the llvm-commits mailing list