Revert r230280: "Bugfix: SCEVExpander incorrectly marks increment operations as no...
[oota-llvm.git] / test / Transforms / LoopStrengthReduce / related_indvars.ll
index 434da99068c3dbab400850563557d3492730b43f..12942bf10a5a53031730238f314b646a01fdb1f6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep phi | count 1
+; RUN: opt < %s -loop-reduce -S | grep phi | count 1
 
 ; This should only result in one PHI node!
 
@@ -7,7 +7,7 @@
 ;     *D++ = F;
 ; }
 
-define void @foo(double* %D, double* %E, double %F) {
+define void @foo(double* %D, double* %E, double %F) nounwind {
 entry:
        %tmp.24 = icmp eq double* %D, %E                ; <i1> [#uses=1]
        br i1 %tmp.24, label %return, label %no_exit