[PATCH] Induction variables: support arbitrary constant step

Alexey Volkov avolkov.intel at gmail.com
Fri Oct 31 05:25:04 PDT 2014


Hi nadav, hfinkel,

Now for induction variables it's possible to have only -1 and +1 step values.
This patch adds support for other than +1 and -1 constant step values.

http://reviews.llvm.org/D6051

Files:
  lib/Transforms/Vectorize/LoopVectorize.cpp
  test/Transforms/LoopVectorize/const-induction.ll
  test/Transforms/LoopVectorize/gcc-examples.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6051.15609.patch
Type: text/x-patch
Size: 21210 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141031/376a238e/attachment.bin>


More information about the llvm-commits mailing list