[llvm] [NFC][AMDGPU] Use `!foreach` to replace explicit list of registers (PR #114005)
Akshat Oke via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 29 01:45:50 PDT 2024
================
@@ -67,7 +67,7 @@ def RetCC_SI_Gfx : CallingConv<[
def CC_SI_SHADER : CallingConv<[
CCIfType<[i1], CCPromoteToType<i32>>,
-
+
CCIfInReg<CCIfType<[f32, i32, f16, i16, v2i16, v2f16, bf16, v2bf16] , CCAssignToReg<[
SGPR0, SGPR1, SGPR2, SGPR3, SGPR4, SGPR5, SGPR6, SGPR7,
SGPR8, SGPR9, SGPR10, SGPR11, SGPR12, SGPR13, SGPR14, SGPR15,
----------------
optimisan wrote:
Are these also candidates to be replaced with foreach?
https://github.com/llvm/llvm-project/pull/114005
More information about the llvm-commits
mailing list