================
@@ -644,19 +644,16 @@ bool RegBankLegalizeHelper::lowerSBufToBuf(MachineInstr 
&MI,
     NumLoads = LoadSize / 128;
     Ty = Ty.divide(NumLoads);
   }
-  for (int i = 0; i < NumLoads; ++i)
-    LoadParts.emplace_back(MRI.createVirtualRegister({VgprRB, Ty}));
   MachineMemOperand *OrigMMO = *MI.memoperands_begin();
+  for (int I = 0; I < NumLoads; ++I)
----------------
slinder1 wrote:

Is there a side-effect here that makes moving this snippet meaningful?

https://github.com/llvm/llvm-project/pull/209243
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to