[PATCH] D19330: Refactor implied condition logic from ValueTracking directly into CmpInst. NFC.

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 10:56:10 PDT 2016


sanjoy requested changes to this revision.
This revision now requires changes to proceed.

================
Comment at: lib/Analysis/ValueTracking.cpp:3845
@@ -3844,3 +3825,3 @@
 
   switch (APred) {
   default:
----------------
Can't the logic in this switch also be moved to `CmpInst::isTrueWhenOperandsMatch` and `CmpInst::isFaseWhenOperandsMatch` ?


http://reviews.llvm.org/D19330





More information about the llvm-commits mailing list