Currently LVI can only gather value constraints from comparisons like:
- icmp <pred> Val, ...
- icmp ult (add Val, Offset), ...
In fact we can handle any predicate in latter comparisons.
Paths
| Differential D23357
[LVI] Handle any predicate in comparisons like icmp <pred> (add Val, Offset), ... ClosedPublic Authored by apilipenko on Aug 10 2016, 9:34 AM.
Details Summary Currently LVI can only gather value constraints from comparisons like:
In fact we can handle any predicate in latter comparisons.
Diff Detail
Event Timelineapilipenko retitled this revision from to [LVI] Handle any predicate in comparisons like icmp <pred> (add Val, Offset), .... apilipenko updated this object. This revision is now accepted and ready to land.Aug 10 2016, 11:08 AM Closed by commit rL278493: [LVI] Handle any predicate in comparisons like icmp <pred> (add Val, Offset)… (authored by apilipenko). · Explain WhyAug 12 2016, 3:13 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 67812 llvm/trunk/lib/Analysis/LazyValueInfo.cpp
llvm/trunk/test/Transforms/CorrelatedValuePropagation/range.ll
|