diff --git a/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll b/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll index 90051e3542c..16bb508d2e2 100644 --- a/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll +++ b/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll @@ -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()