summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopVectorize/increment.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
commit4cb8cdab5e0002f4672c85afd467da8230dff476 (patch)
tree505933778adac9b18abdb383ccfaff8aa7cd35eb /llvm/test/Transforms/LoopVectorize/increment.ll
parent37756b0714acdd352eabcded82f90975cc345286 (diff)
downloadbcm5719-llvm-4cb8cdab5e0002f4672c85afd467da8230dff476.tar.gz
bcm5719-llvm-4cb8cdab5e0002f4672c85afd467da8230dff476.zip
LoopVectorize: Preserve NSW, NUW and IsExact flags.
llvm-svn: 167174
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/increment.ll')
-rw-r--r--llvm/test/Transforms/LoopVectorize/increment.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/increment.ll b/llvm/test/Transforms/LoopVectorize/increment.ll
index 069b7ea031c..71ea7689fc0 100644
--- a/llvm/test/Transforms/LoopVectorize/increment.ll
+++ b/llvm/test/Transforms/LoopVectorize/increment.ll
@@ -11,7 +11,7 @@ target triple = "x86_64-apple-macosx10.8.0"
; }
;CHECK: @inc
;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 @inc(i32 %n) nounwind uwtable noinline ssp {
OpenPOWER on IntegriCloud