[PATCH] D20932: [LV] Use vector vphis for more induction variables

Michael Kuperstein via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 14:41:48 PDT 2016


mkuper created this revision.
mkuper added reviewers: delena, wmi.
mkuper added subscribers: llvm-commits, Ayal, nadav, davidxl.
Herald added a subscriber: mzolotukhin.

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

http://reviews.llvm.org/D20932

Files:
  lib/Transforms/Vectorize/LoopVectorize.cpp
  test/Transforms/LoopVectorize/induction.ll
  test/Transforms/LoopVectorize/reverse_induction.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20932.59460.patch
Type: text/x-patch
Size: 7055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160602/109235bc/attachment.bin>


More information about the llvm-commits mailing list