aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/LoopVectorize/non-const-n.ll
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-10-31 21:40:39 +0000
committerNadav Rotem <nrotem@apple.com>2012-10-31 21:40:39 +0000
commite57b2cbce652d45ed5516e52ad82991bfa03cfd7 (patch)
treeebb28b57979f57cddc2f7172f559c5981005ad09 /test/Transforms/LoopVectorize/non-const-n.ll
parent0dba9a9a26f45119a82200d1db37b734b3e1bb22 (diff)
downloadexternal_llvm-e57b2cbce652d45ed5516e52ad82991bfa03cfd7.zip
external_llvm-e57b2cbce652d45ed5516e52ad82991bfa03cfd7.tar.gz
external_llvm-e57b2cbce652d45ed5516e52ad82991bfa03cfd7.tar.bz2
LoopVectorize: Preserve NSW, NUW and IsExact flags.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopVectorize/non-const-n.ll')
-rw-r--r--test/Transforms/LoopVectorize/non-const-n.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/LoopVectorize/non-const-n.ll b/test/Transforms/LoopVectorize/non-const-n.ll
index 7727b0a..1a6c15e 100644
--- a/test/Transforms/LoopVectorize/non-const-n.ll
+++ b/test/Transforms/LoopVectorize/non-const-n.ll
@@ -11,7 +11,7 @@ target triple = "x86_64-apple-macosx10.8.0"
;CHECK: shl i32
;CHECK: zext i32
;CHECK: load <4 x i32>
-;CHECK: add <4 x i32>
+;CHECK: add nsw <4 x i32>
;CHECK: store <4 x i32>
;CHECK: ret void
define void @example1(i32 %n) nounwind uwtable ssp {