[PATCH] D18905: [ValueTracking] Improve isImpliedCondition for conditions with matching but swapped operands.

Chad Rosier via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 8 12:38:19 PDT 2016


mcrosier added inline comments.

================
Comment at: test/Transforms/SimplifyCFG/implied-cond-swapped.ll:40
@@ +39,3 @@
+;     alive();
+;     if (b <= a) <- always true; remove branch
+;       alive();
----------------
This should be (b < a).  I've already updated my local version.  The IR itself is correct.


Repository:
  rL LLVM

http://reviews.llvm.org/D18905





More information about the llvm-commits mailing list