From e57b2cbce652d45ed5516e52ad82991bfa03cfd7 Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Wed, 31 Oct 2012 21:40:39 +0000 Subject: LoopVectorize: Preserve NSW, NUW and IsExact flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167174 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/LoopVectorize/increment.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Transforms/LoopVectorize/increment.ll') diff --git a/test/Transforms/LoopVectorize/increment.ll b/test/Transforms/LoopVectorize/increment.ll index 069b7ea031..71ea7689fc 100644 --- a/test/Transforms/LoopVectorize/increment.ll +++ b/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 { -- cgit v1.2.3-70-g09d2