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/LoopStrengthReduce/2011-10-06-ReusePhi.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/LoopStrengthReduce/2011-10-06-ReusePhi.ll')
-rw-r--r-- | llvm/test/Transforms/LoopStrengthReduce/2011-10-06-ReusePhi.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopStrengthReduce/2011-10-06-ReusePhi.ll b/llvm/test/Transforms/LoopStrengthReduce/2011-10-06-ReusePhi.ll index a35aa9f36fe..db5bbf9c48f 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/2011-10-06-ReusePhi.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/2011-10-06-ReusePhi.ll @@ -12,8 +12,8 @@ target datalayout = "n8:16:32:64" ; CHECK-LABEL: @test( ; multiplies are hoisted out of the loop ; CHECK: while.body.lr.ph: -; CHECK: shl i64 -; CHECK: shl i64 +; CHECK: shl nsw i64 +; CHECK: shl nsw i64 ; GEPs are ugly ; CHECK: while.body: ; CHECK: phi |