diff options
author | Hans Wennborg <hans@hanshq.net> | 2015-02-24 16:19:29 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2015-02-24 16:19:29 +0000 |
commit | 953d6fb84e58ebb9f9c2aef001d0b138a47b62d5 (patch) | |
tree | 665c4ffd102394a9b6ea95deb7569f019e5c5524 /llvm/test/CodeGen/X86/avoid_complex_am.ll | |
parent | 275a1756ad113a2a58bba1fd621ba1921e0e94f0 (diff) | |
download | bcm5719-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/CodeGen/X86/avoid_complex_am.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/avoid_complex_am.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/avoid_complex_am.ll b/llvm/test/CodeGen/X86/avoid_complex_am.ll index 7f095190ab8..e5e7bd23a64 100644 --- a/llvm/test/CodeGen/X86/avoid_complex_am.ll +++ b/llvm/test/CodeGen/X86/avoid_complex_am.ll @@ -22,7 +22,7 @@ for.body: ; preds = %for.body, %entry %arrayidx = getelementptr inbounds double* %b, i64 %tmp %tmp1 = load double* %arrayidx, align 8 ; The induction variable should carry the scaling factor: 1. -; CHECK: [[IVNEXT]] = add nuw nsw i64 [[IV]], 1 +; CHECK: [[IVNEXT]] = add nuw i64 [[IV]], 1 %indvars.iv.next = add i64 %indvars.iv, 1 %arrayidx2 = getelementptr inbounds double* %c, i64 %indvars.iv.next %tmp2 = load double* %arrayidx2, align 8 |