From 0e92fe9dce3d5d178cef3615569df39240ec3a72 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 23 Apr 2014 19:32:37 +0000 Subject: [PATCH] Convert test to FileCheck git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207015 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../LoopStrengthReduce/dont_insert_redundant_ops.ll | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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()