ScalarEvolution should be able to handle both constant and variable trip
counts using getURemExpr, so we do not have to handle them separately.
This is a small simplification of a56280094e08.
Paths
| Differential D93677
[LV] Use ScalarEvolution::getURemExpr to reduce duplication. ClosedPublic Authored by fhahn on Dec 22 2020, 1:39 AM.
Details Summary ScalarEvolution should be able to handle both constant and variable trip This is a small simplification of a56280094e08.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 22 2020, 5:49 AM Closed by commit rGef4dbb2b7a85: [LV] Use ScalarEvolution::getURemExpr to reduce duplication. (authored by fhahn). · Explain WhyDec 22 2020, 6:52 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 313330 llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
|