After r249211, SCEV can see through some LCSSA phis. Add a
replacementPreservesLCSSAForm check before replacing uses of these phi
nodes with a simplified use of the induction variable to avoid breaking
LCSSA.
Fixes 25047.
Depends on D13460.
Paths
| Differential D13461
[IndVars] Preserve LCSSA in `eliminateIdentitySCEV` ClosedPublic Authored by sanjoy on Oct 6 2015, 1:46 AM.
Details Summary After r249211, SCEV can see through some LCSSA phis. Add a Fixes 25047. Depends on D13460.
Diff Detail
Event Timelinesanjoy updated this object. Closed by commit rL249575: [IndVars] Preserve LCSSA in `eliminateIdentitySCEV` (authored by sanjoy). · Explain WhyOct 7 2015, 10:40 AM This revision was automatically updated to reflect the committed changes. Comment Actions Let's please do a post-commit review on this one -- the change is simple, and people are hitting the bug in tree.
Revision Contents
Diff 36767 llvm/trunk/lib/Transforms/Utils/SimplifyIndVar.cpp
llvm/trunk/test/Transforms/IndVarSimplify/pr25047.ll
|