From fed895c9c6764bb8ef0a6654b8cca468bc032b68 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 23 Apr 2014 19:32:37 +0000 Subject: Convert test to FileCheck llvm-svn: 207015 --- .../test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'llvm/test/Transforms/LoopStrengthReduce') diff --git a/llvm/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll b/llvm/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll index 90051e3542c..16bb508d2e2 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll +++ b/llvm/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() -- cgit v1.2.3