[PATCH] D19277: [ValueTracking] Make isImpliedCondition return an Optional<bool>. NFC.

Jun Bum Lim via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 09:07:23 PDT 2016


junbuml added inline comments.

================
Comment at: lib/Analysis/ValueTracking.cpp:3793-3795
@@ -3790,4 +3792,5 @@
 
 /// Return true if "icmp2 BPred BLHS BRHS" is known to be implied by "icmp1
 /// APred ALHS ARHS".  The implication may be either true or false depending on
 /// the return value of ImpliedTrue.
+static Optional<bool> isImpliedCondMatchingOperands(CmpInst::Predicate APred,
----------------
Please update the comment. 


http://reviews.llvm.org/D19277





More information about the llvm-commits mailing list