[PATCH] D16550: Reroll loops with multiple IV and negative step part 3/3 -- support multiple induction variables

Lawrence Hu via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 25 16:37:18 PST 2016


hulx2000 added inline comments.

================
Comment at: lib/Transforms/Scalar/LoopRerollPass.cpp:1433
@@ +1432,3 @@
+    replaceIV(LoopCtrlOnlyIV, LoopCtrlOnlyIV, IterCount);
+
+  } else
----------------
Empty line is not needed

================
Comment at: lib/Transforms/Scalar/LoopRerollPass.cpp:1531
@@ -1380,2 +1530,3 @@
         const SCEV *ICMinusPlus1SCEV = SE->getMinusSCEV(ICSCEV, MinusPlus1SCEV);
+
         // Iteration count minus 1
----------------
Empty line is not needed


Repository:
  rL LLVM

http://reviews.llvm.org/D16550





More information about the llvm-commits mailing list