This is an archive of the discontinued LLVM Phabricator instance.

Teach ScalarEvolution to exploit SMin expressions.
AbandonedPublic

Authored by sanjoy on Dec 5 2014, 7:40 PM.

Details

Summary

This change teaches isImpliedCondOperands the following two facts:

  • A ICMP_SGE smin(..., A, ...)
  • smin(..., A, ...) ICMP_SLE A

Diff Detail

Event Timeline

sanjoy updated this revision to Diff 17017.Dec 5 2014, 7:40 PM
sanjoy retitled this revision from to Teach ScalarEvolution to exploit SMin expressions..
sanjoy updated this object.
sanjoy edited the test plan for this revision. (Show Details)
sanjoy added reviewers: atrick, reames.
sanjoy added a subscriber: Unknown Object (MLST).
sanjoy abandoned this revision.Dec 11 2014, 4:09 PM

This isn't sufficiently general to handle all the cases I want to handle. Please don't review ATM, I'll put up a new diff shortly.