Move InductionDescriptor::transform() routine from LoopUtils to its only uses in LoopVectorize.cpp.
Specifically, the function is renamed as InnerLoopVectorizer::emitTransformedIndex().
This is a child to D51153.
Paths
| Differential D51837
Move a transformation routine from LoopUtils to LoopVectorize. ClosedPublic Authored by tvvikram on Sep 9 2018, 12:18 AM.
Details Summary Move InductionDescriptor::transform() routine from LoopUtils to its only uses in LoopVectorize.cpp. This is a child to D51153.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 9 2018, 1:22 PM Closed by commit rL341776: Move a transformation routine from LoopUtils to LoopVectorize. (authored by tvvikram). · Explain WhySep 9 2018, 11:19 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 164584 Transforms/Utils/LoopUtils.cpp
Transforms/Vectorize/LoopVectorize.cpp
llvm/Transforms/Utils/LoopUtils.h
|
Nit: does this need a clang-format?