This change teaches SCEV that to prove A u< B it is sufficient to
prove each of these facts individually:
- B >= 0
- A s< B
- A >= 0
In practice, SCEV sometimes finds it easier to prove these facts
individually than to prove A u< B as one atomic step.
Paths
| Differential D13042
[SCEV] Try to prove predicates by splitting them. ClosedPublic Authored by sanjoy on Sep 21 2015, 6:26 PM.
Details Summary This change teaches SCEV that to prove A u< B it is sufficient to
In practice, SCEV sometimes finds it easier to prove these facts
Diff Detail Event Timelinesanjoy updated this object.
This revision is now accepted and ready to land.Oct 2 2015, 10:49 AM Closed by commit rL249168: [SCEV] Try to prove predicates by splitting them (authored by sanjoy). · Explain WhyOct 2 2015, 11:52 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 35926 include/llvm/Analysis/ScalarEvolution.h
lib/Analysis/ScalarEvolution.cpp
test/Transforms/IndVarSimplify/eliminate-comparison.ll
|
Why do you use isKnownNonNegative(RHS) but not isKnownNonNegative(LHS)?