Loop Vectorize: optimize the vectorization of trunc(induction_var). The truncation...
authorNadav Rotem <nrotem@apple.com>
Tue, 11 Dec 2012 18:58:10 +0000 (18:58 +0000)
committerNadav Rotem <nrotem@apple.com>
Tue, 11 Dec 2012 18:58:10 +0000 (18:58 +0000)
commit5e9efa10fc7eea582bb1ad216364fb2c467e4477
tree33a68bbe3bbfcb608a9f31cd49d104ed5929e5af
parent37a9830d20018dee5557a3a72f750d965ba383c5
Loop Vectorize: optimize the vectorization of trunc(induction_var). The truncation is now done on scalars.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169904 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/cast-induction.ll [new file with mode: 0644]
test/Transforms/LoopVectorize/cpp-new-array.ll
test/Transforms/LoopVectorize/gcc-examples.ll
test/Transforms/LoopVectorize/induction_plus.ll