Refines max backedge-taken count if a loop like "for (int i = 0; i != n; ++i) { /* body */ }" is rotated.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D28536
[SCEV] Make howFarToZero max backedge-taken count check for precondition ClosedPublic Authored by efriedma on Jan 10 2017, 2:29 PM.
Details Summary Refines max backedge-taken count if a loop like "for (int i = 0; i != n; ++i) { /* body */ }" is rotated.
Diff Detail
Event Timelineefriedma added a parent revision: D28393: [SCEV] Make howFarToZero produce a smaller max backedge-taken count.Jan 10 2017, 2:29 PM sanjoy edited edge metadata. Comment Actionslgtm
This revision is now accepted and ready to land.Jan 10 2017, 3:44 PM Closed by commit rL291704: [SCEV] Make howFarToZero max backedge-taken count check for precondition. (authored by efriedma). · Explain WhyJan 11 2017, 1:18 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 83874 lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/max-trip-count.ll
|
Use APInt::umin here?