Use a real vector IV for integer IVs that are the same type as the primary, and have a constant step - but are not necessarily the primary IV itself.
This is an expansion of http://reviews.llvm.org/rL271410
Paths
| Differential D20932
[LV] Use vector vphis for more induction variables ClosedPublic Authored by mkuper on Jun 2 2016, 2:41 PM.
Details Summary Use a real vector IV for integer IVs that are the same type as the primary, and have a constant step - but are not necessarily the primary IV itself. This is an expansion of http://reviews.llvm.org/rL271410
Diff Detail
Event Timelinemkuper updated this object.
Comment Actions Thanks, Elena!
Closed by commit rL272283: [LV] Use vector phis for some secondary induction variables (authored by mkuper). · Explain WhyJun 9 2016, 11:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 60210 llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/trunk/test/Transforms/LoopVectorize/induction.ll
llvm/trunk/test/Transforms/LoopVectorize/reverse_induction.ll
|