AFAICT, the SimpleLoopUnrollPass isn't suppose to perform loop peeling.
Chad
Paths
| Differential D45334
[LoopUnroll] Make LoopPeeling respect the AllowPeeling preference. ClosedPublic Authored by mcrosier on Apr 5 2018, 1:52 PM.
Details Summary AFAICT, the SimpleLoopUnrollPass isn't suppose to perform loop peeling. Chad
Diff Detail
Event TimelineComment Actions LGTM It's possible that peeling which "simplifies" a loop should be done earlier, but completely ignoring AllowPeeling seems wrong. This revision is now accepted and ready to land.Apr 5 2018, 2:45 PM Comment Actions Thanks Chad, AllowPeeling and UserPeelCount taking precedence over other peel count computations looks good to me Closed by commit rL329395: [LoopUnroll] Make LoopPeeling respect the AllowPeeling preference. (authored by mcrosier). · Explain WhyApr 6 2018, 7:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 141339 llvm/trunk/lib/Transforms/Utils/LoopUnrollPeel.cpp
llvm/trunk/test/Transforms/LoopUnroll/peel-loop-not-forced.ll
|