diff options
author | Sam Parker <sam.parker@arm.com> | 2019-06-17 10:05:18 +0000 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2019-06-17 10:05:18 +0000 |
commit | 60d6fb2a6344c4badfbc62daee6e71c588749312 (patch) | |
tree | 005845a90d76e68dae67da5a2b2c84cc3f4b853a /llvm/test/Transforms/LoopStrengthReduce/2011-10-06-ReusePhi.ll | |
parent | 46f9cbe28d4f5b56c5e0c65a4fb02571a57fc8ae (diff) | |
download | bcm5719-llvm-60d6fb2a6344c4badfbc62daee6e71c588749312.tar.gz bcm5719-llvm-60d6fb2a6344c4badfbc62daee6e71c588749312.zip |
[SCEV] Use NoWrapFlags when expanding a simple mul
Second functional change following on from rL362687. Pass the
NoWrapFlags from the MulExpr to InsertBinop when we're generating a
shl or mul.
Differential Revision: https://reviews.llvm.org/D61934
llvm-svn: 363540
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 |