[PATCH] D148824: AMDGPU: Define sub-class of SGPR_64 for tail call return

Christudasan Devadasan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 10:24:17 PDT 2023


cdevadas added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIRegisterInfo.td:830
+def Gfx_CCR_SGPR_64 : SIRegisterClass<"AMDGPU", SGPR_64.RegTypes, 32,
+                                (add (trunc (shl SGPR_64, 15), 1), // s[30:31]
+                                     (trunc (shl SGPR_64, 18), 14))> { // s[36:37]-s[s62:63]
----------------
@sebastian-ne can you review this part, the gfx scratch SGPRs?

The rest of the patch LGTM.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148824/new/

https://reviews.llvm.org/D148824



More information about the llvm-commits mailing list