This change teaches isImpliedCondOperands the following two facts:
- A ICMP_SGE smin(..., A, ...)
- smin(..., A, ...) ICMP_SLE A
Paths
| Differential D6560
Teach ScalarEvolution to exploit SMin expressions. AbandonedPublic Authored by sanjoy on Dec 5 2014, 7:40 PM.
Details
Diff Detail Event Timelinesanjoy updated this object. Comment Actions 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.
Revision Contents
Diff 17017 lib/Analysis/ScalarEvolution.cpp
test/Transforms/IndVarSimplify/backedge-on-min-max.ll
|