[PATCH] D85197: GlobalISel: Implement fewerElementsVector for G_CONCAT_VECTORS sources

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 10:49:48 PDT 2020


aemerson added inline comments.


================
Comment at: llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp:253
   for (int I = 0; I != NumResults; ++I)
-    Regs[I] = MI.getOperand(I).getReg();
+    Regs[StartIdx + I] = MI.getOperand(I).getReg();
 }
----------------
Why these changes to this function? The new behavior doesn't match the comment for it.


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

https://reviews.llvm.org/D85197



More information about the llvm-commits mailing list