summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopVectorize/X86/illegal-parallel-loop-uniform-write.ll
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2019-06-14 09:19:41 +0000
committerSam Parker <sam.parker@arm.com>2019-06-14 09:19:41 +0000
commit0cf9639a9c3e45582d112d17e3b23b9a79e9b49e (patch)
tree4a691bb3bf2d339d5e17afd7cc389395984f5ab6 /llvm/test/Transforms/LoopVectorize/X86/illegal-parallel-loop-uniform-write.ll
parent411c630bae0e0d50697651797709987e2cfea92d (diff)
downloadbcm5719-llvm-0cf9639a9c3e45582d112d17e3b23b9a79e9b49e.tar.gz
bcm5719-llvm-0cf9639a9c3e45582d112d17e3b23b9a79e9b49e.zip
[SCEV] Pass NoWrapFlags when expanding an AddExpr
InsertBinop now accepts NoWrapFlags, so pass them through when expanding a simple add expression. This is the first re-commit of the functional changes from rL362687, which was previously reverted. Differential Revision: https://reviews.llvm.org/D61934 llvm-svn: 363364
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/X86/illegal-parallel-loop-uniform-write.ll')
-rw-r--r--llvm/test/Transforms/LoopVectorize/X86/illegal-parallel-loop-uniform-write.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/X86/illegal-parallel-loop-uniform-write.ll b/llvm/test/Transforms/LoopVectorize/X86/illegal-parallel-loop-uniform-write.ll
index 683e857e5f2..43c834ed808 100644
--- a/llvm/test/Transforms/LoopVectorize/X86/illegal-parallel-loop-uniform-write.ll
+++ b/llvm/test/Transforms/LoopVectorize/X86/illegal-parallel-loop-uniform-write.ll
@@ -27,7 +27,7 @@ define void @foo(i32* nocapture %a, i32* nocapture %b, i32 %k, i32 %m) #0 {
; CHECK: for.body3.lr.ph.us.preheader:
; CHECK-NEXT: [[TMP0:%.*]] = add i32 [[M]], -1
; CHECK-NEXT: [[TMP1:%.*]] = zext i32 [[TMP0]] to i64
-; CHECK-NEXT: [[TMP2:%.*]] = add i64 [[TMP1]], 1
+; CHECK-NEXT: [[TMP2:%.*]] = add nuw nsw i64 [[TMP1]], 1
; CHECK-NEXT: [[TMP3:%.*]] = zext i32 [[K:%.*]] to i64
; CHECK-NEXT: br label [[FOR_BODY3_LR_PH_US:%.*]]
; CHECK: for.end.us:
OpenPOWER on IntegriCloud