[PATCH] D22195: AMDGPU: Move SIWholeQuadMode pass to after machine scheduling

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 11 19:03:14 PDT 2016


arsenm added inline comments.

================
Comment at: lib/Target/AMDGPU/SIWholeQuadMode.cpp:638
@@ +637,3 @@
+            .addReg(LiveMaskReg);
+    SI->replaceMachineInstrInMaps(*MI, *NewMI);
+
----------------
Why are you using SlotIndexes directly? I think in other places LIS->ReplaceMachineInstrInMaps is used


http://reviews.llvm.org/D22195





More information about the llvm-commits mailing list