diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-10-31 21:40:39 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-10-31 21:40:39 +0000 |
commit | e57b2cbce652d45ed5516e52ad82991bfa03cfd7 (patch) | |
tree | ebb28b57979f57cddc2f7172f559c5981005ad09 /test/Transforms/LoopVectorize/reduction.ll | |
parent | 0dba9a9a26f45119a82200d1db37b734b3e1bb22 (diff) |
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/reduction.ll')
-rw-r--r-- | test/Transforms/LoopVectorize/reduction.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/LoopVectorize/reduction.ll b/test/Transforms/LoopVectorize/reduction.ll index d19f7c1b0b..c1848b35fc 100644 --- a/test/Transforms/LoopVectorize/reduction.ll +++ b/test/Transforms/LoopVectorize/reduction.ll @@ -66,7 +66,7 @@ define i32 @reduction_prod(i32 %n, i32* noalias nocapture %A, i32* noalias nocap ;CHECK: @reduction_mix ;CHECK: phi <4 x i32> ;CHECK: load <4 x i32> -;CHECK: mul <4 x i32> +;CHECK: mul nsw <4 x i32> ;CHECK: ret i32 define i32 @reduction_mix(i32 %n, i32* noalias nocapture %A, i32* noalias nocapture %B) nounwind uwtable readonly noinline ssp { %1 = icmp sgt i32 %n, 0 |