[PATCH] D19861: Pass LiveIntervals to foldMemoryOperandImpl(), to enable checking of liveness of preg (flag reg).

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 11:28:07 PDT 2016


MatzeB added inline comments.

================
Comment at: lib/Target/SystemZ/SystemZInstrInfo.cpp:866
@@ +865,3 @@
+        LIS.getRegUnit(*MCRegUnitIterator(SystemZ::CC, TRI));
+      SlotIndex MISlot = LIS.getSlotIndexes()->getInstructionIndex(*MI);
+      if (!CCLiveRange.liveAt(MISlot)) {
----------------
This needs a `.getRegSlot()` added.


http://reviews.llvm.org/D19861





More information about the llvm-commits mailing list