Do not ignore iv uses outside the loop.
[oota-llvm.git] / test / Transforms / LoopIndexSplit / 2008-05-19-IndVar.ll
index c4678b47ac40e635c39db40c129da7830f83f7bc..5809918acffe935b0bb129da9b419a3135e9b302 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-index-split | llvm-dis | grep tmp8 | count 3
-; count 3 = increment + phi + store
+; RUN: llvm-as < %s | opt -loop-index-split -stats -disable-output | not grep "loop-index-split"
 ;PR2294
 @g_2 = external global i16             ; <i16*> [#uses=4]
 @g_5 = external global i32             ; <i32*> [#uses=1]