Follow-up of cb47b8783: don't query TTI->preferPredicateOverEpilogue when option -prefer-predicate-over-epilog is set to false, i.e. when we prefer not to predicate the loop.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D70382
[LV] PreferPredicateOverEpilog respecting option ClosedPublic Authored by SjoerdMeijer on Nov 18 2019, 2:57 AM.
Details Summary Follow-up of cb47b8783: don't query TTI->preferPredicateOverEpilogue when option -prefer-predicate-over-epilog is set to false, i.e. when we prefer not to predicate the loop.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 21 2019, 2:44 AM Closed by commit rG901cd3b3f62d: [LV] PreferPredicateOverEpilog respecting option (authored by SjoerdMeijer). · Explain WhyNov 21 2019, 6:08 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 230446 llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/ARM/prefer-tail-loop-folding.ll
|