This patch adds support for handling some forms of ands and ors in ValueTracking's isImpliedCondition API. The solves PR33611.
Chad
Paths
| Differential D34901
[ValueTracking] Support icmps fed by 'and' and 'or' ClosedPublic Authored by mcrosier on Jun 30 2017, 11:55 AM.
Details
Summary This patch adds support for handling some forms of ands and ors in ValueTracking's isImpliedCondition API. The solves PR33611. Chad
Diff Detail Event Timelinespatel edited edge metadata. Comment ActionsMissed a digit on the bug number in the summary (PR33611): This revision is now accepted and ready to land.Jul 5 2017, 11:09 AM
Revision Contents
Diff 104903 include/llvm/Analysis/ValueTracking.h
lib/Analysis/ValueTracking.cpp
test/Transforms/InstCombine/select-implied.ll
test/Transforms/SimplifyCFG/implied-and-or.ll
|