summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopStrengthReduce/count-to-zero.ll
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2015-02-24 16:19:29 +0000
committerHans Wennborg <hans@hanshq.net>2015-02-24 16:19:29 +0000
commit953d6fb84e58ebb9f9c2aef001d0b138a47b62d5 (patch)
tree665c4ffd102394a9b6ea95deb7569f019e5c5524 /llvm/test/Transforms/LoopStrengthReduce/count-to-zero.ll
parent275a1756ad113a2a58bba1fd621ba1921e0e94f0 (diff)
downloadbcm5719-llvm-953d6fb84e58ebb9f9c2aef001d0b138a47b62d5.tar.gz
bcm5719-llvm-953d6fb84e58ebb9f9c2aef001d0b138a47b62d5.zip
Revert r230280: "Bugfix: SCEVExpander incorrectly marks increment operations as no-wrap"
This caused PR22674, failing this assert: Instructions.h:2281: llvm::Value* llvm::PHINode::getOperand(unsigned int) const: Assertion `i_nocapture < OperandTraits<PHINode>::operands(this) && "getOperand() out of range!"' failed. llvm-svn: 230341
Diffstat (limited to 'llvm/test/Transforms/LoopStrengthReduce/count-to-zero.ll')
-rw-r--r--llvm/test/Transforms/LoopStrengthReduce/count-to-zero.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopStrengthReduce/count-to-zero.ll b/llvm/test/Transforms/LoopStrengthReduce/count-to-zero.ll
index 0e96f02904d..feb79f8a0c7 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/count-to-zero.ll
+++ b/llvm/test/Transforms/LoopStrengthReduce/count-to-zero.ll
@@ -19,7 +19,7 @@ bb3: ; preds = %bb1
%tmp4 = add i32 %c_addr.1, -1 ; <i32> [#uses=1]
%c_addr.1.be = select i1 %tmp2, i32 %tmp3, i32 %tmp4 ; <i32> [#uses=1]
%indvar.next = add i32 %indvar, 1 ; <i32> [#uses=1]
-; CHECK: add nsw i32 %lsr.iv, -1
+; CHECK: add i32 %lsr.iv, -1
br label %bb6
bb6: ; preds = %bb3, %entry
OpenPOWER on IntegriCloud