[PATCH] D26299: Improving the efficiency of the Loop Unswitching pass

Weiming Zhao via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 10:40:49 PST 2016


weimingz added inline comments.


================
Comment at: lib/Transforms/Scalar/LoopUnswitch.cpp:611
+          if (Cond == ConstantInt::getTrue(Cond->getContext())) {
+            Succ = BI->getSuccessor(1);
+          } else if (Cond == ConstantInt::getFalse(Cond->getContext())) {
----------------
Does the True destination and False destination get swapped?


Repository:
  rL LLVM

https://reviews.llvm.org/D26299





More information about the llvm-commits mailing list