LoopVectorize: Preserve NSW, NUW and IsExact flags.
authorNadav Rotem <nrotem@apple.com>
Wed, 31 Oct 2012 21:40:39 +0000 (21:40 +0000)
committerNadav Rotem <nrotem@apple.com>
Wed, 31 Oct 2012 21:40:39 +0000 (21:40 +0000)
commite57b2cbce652d45ed5516e52ad82991bfa03cfd7
treeebb28b57979f57cddc2f7172f559c5981005ad09
parent0dba9a9a26f45119a82200d1db37b734b3e1bb22
LoopVectorize: Preserve NSW, NUW and IsExact flags.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167174 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/X86/gcc-examples.ll
test/Transforms/LoopVectorize/flags.ll [new file with mode: 0644]
test/Transforms/LoopVectorize/gcc-examples.ll
test/Transforms/LoopVectorize/increment.ll
test/Transforms/LoopVectorize/non-const-n.ll
test/Transforms/LoopVectorize/reduction.ll
test/Transforms/LoopVectorize/start-non-zero.ll