Loop peeling also has an impact on the induction variables, so we should
benefit from induction variable simplification after peeling too.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D43878
[LoopUnroll] Simplify induction variables after peeling too. ClosedPublic Authored by fhahn on Feb 28 2018, 9:58 AM.
Details Summary Loop peeling also has an impact on the induction variables, so we should
Diff Detail Event TimelineThis revision is now accepted and ready to land.Mar 22 2018, 3:05 PM Closed by commit rL328301: [LoopUnroll] Simplify induction variables after peeling too. (authored by fhahn). · Explain WhyMar 23 2018, 3:41 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 138563 lib/Transforms/Utils/LoopUnroll.cpp
test/Transforms/LoopUnroll/peel-loop-conditions.ll
|
Putting -simplifycfg is probably more confusing than helpful, in terms of understanding what the pass actually does.