This is an archive of the discontinued LLVM Phabricator instance.

[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:

  • icmp <pred> Val, ...
  • icmp ult (add Val, Offset), ...

In fact we can handle any predicate in latter comparisons.

Diff Detail

Repository
rL LLVM

Event Timeline

apilipenko updated this revision to Diff 67535.Aug 10 2016, 9:34 AM
apilipenko retitled this revision from to [LVI] Handle any predicate in comparisons like icmp <pred> (add Val, Offset), ....
apilipenko updated this object.
apilipenko added a reviewer: sanjoy.
apilipenko added a subscriber: llvm-commits.
sanjoy accepted this revision.Aug 10 2016, 11:08 AM
sanjoy edited edge metadata.

lgtm

This revision is now accepted and ready to land.Aug 10 2016, 11:08 AM
This revision was automatically updated to reflect the committed changes.