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

Chad Rosier via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 09:03:48 PDT 2016


mcrosier created this revision.
mcrosier added reviewers: sanjoy, gberry, reames.
mcrosier added a subscriber: llvm-commits.

This logic  allows a compare instruction to infer the condition of another compare with matching operands without having to use ValueTracking directly.

 Chad

http://reviews.llvm.org/D19330

Files:
  include/llvm/IR/InstrTypes.h
  lib/Analysis/ValueTracking.cpp
  lib/IR/Instructions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19330.54380.patch
Type: text/x-patch
Size: 4255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160420/c18a86cc/attachment.bin>


More information about the llvm-commits mailing list