diff options
| author | Sam Parker <sam.parker@arm.com> | 2019-06-06 08:56:26 +0000 |
|---|---|---|
| committer | Sam Parker <sam.parker@arm.com> | 2019-06-06 08:56:26 +0000 |
| commit | 7cc580f5e95e7e5dd84db2c276f58709258cd120 (patch) | |
| tree | 767ec67006d21df6b87a8d653494c020711cae17 /llvm/test/Transforms/LoopVectorize/X86/illegal-parallel-loop-uniform-write.ll | |
| parent | 54eeb3f40ab1f68619083cfce3e0dff2521b7cef (diff) | |
| download | bcm5719-llvm-7cc580f5e95e7e5dd84db2c276f58709258cd120.tar.gz bcm5719-llvm-7cc580f5e95e7e5dd84db2c276f58709258cd120.zip | |
[SCEV] Use wrap flags in InsertBinop
If the given SCEVExpr has no (un)signed flags attached to it, transfer
these to the resulting instruction or use them to find an existing
instruction.
Differential Revision: https://reviews.llvm.org/D61934
llvm-svn: 362687
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.ll | 2 |
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: |

