[llvm] [AMDGPU][GISel] Add RegBankLegalize support for G_SI_CALL (PR #165747)

Petar Avramovic via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 11 01:46:04 PST 2026


================
@@ -80,6 +80,23 @@ bool RegBankLegalizeHelper::findRuleAndApplyMapping(MachineInstr &MI) {
 bool RegBankLegalizeHelper::executeInWaterfallLoop(
     MachineIRBuilder &B, iterator_range<MachineBasicBlock::iterator> Range,
     SmallSet<Register, 4> &SGPROperandRegs) {
+
----------------
petar-avramovic wrote:

Again don't see the point of special casing here, make Range on SgprP0_WF case (maybe rename to SgprP0Call_WF to indicate it is not "standard _WF") and make sure it gets to executeInWaterfallLoop

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


More information about the llvm-commits mailing list