indvars -disable-iv-rewrite: handle cloning binary operators that cannot overflow.
[oota-llvm.git] / test / Transforms / IndVarSimplify / tripcount_infinite.ll
index d5965f4ed6f053fbab69ae298c2c8be8db152473..0495b50c3e485ad0f650c536aec9e2565c75a44c 100644 (file)
@@ -1,7 +1,7 @@
 ; These tests have an infinite trip count.  We obviously shouldn't remove the 
 ; loops!  :)
 ;
-; RUN: llvm-as < %s | opt -indvars -adce -simplifycfg | llvm-dis | grep icmp | wc -l > %t2
+; RUN: opt < %s -indvars -adce -simplifycfg -S | grep icmp | wc -l > %t2
 ; RUN: llvm-as < %s | llvm-dis | grep icmp | wc -l > %t1
 ; RUN: diff %t1 %t2