[llvm] [AMDGPU][GISel] Add RegBankLegalize support for G_SI_CALL (PR #165747)
Petar Avramovic via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 10 03:04:25 PST 2026
================
@@ -1146,6 +1148,12 @@ RegBankLegalizeRules::RegBankLegalizeRules(const GCNSubtarget &_ST,
addRulesForGOpcs({G_AMDGPU_WAVE_ADDRESS}).Any({{UniP5}, {{SgprP5}, {}}});
+ addRulesForGOpcs({G_SI_CALL})
+ .Any({{_, UniP0}, {{None}, {SgprP0}}})
----------------
petar-avramovic wrote:
It would be best to fix this phys return on G_SI_CALL opcodes in AMDGPUCallLowering.cpp to not have to special case anything
https://github.com/llvm/llvm-project/pull/165747
More information about the llvm-commits
mailing list