Convert test to FileCheck
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 23 Apr 2014 19:32:37 +0000 (19:32 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 23 Apr 2014 19:32:37 +0000 (19:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207015 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll

index 90051e3542c221072687945081820a19123c500f..16bb508d2e272421d51ab73c102d4e07b1095736 100644 (file)
@@ -1,5 +1,9 @@
 ; Check that this test makes INDVAR and related stuff dead.
-; RUN: opt < %s -loop-reduce -S | grep phi | count 2
+; RUN: opt < %s -loop-reduce -S | FileCheck %s
+
+; CHECK: phi
+; CHECK: phi
+; CHECK-NOT: phi
 
 declare i1 @pred()