[llvm] r207015 - Convert test to FileCheck
Matt Arsenault
Matthew.Arsenault at amd.com
Wed Apr 23 12:32:37 PDT 2014
Author: arsenm
Date: Wed Apr 23 14:32:37 2014
New Revision: 207015
URL: http://llvm.org/viewvc/llvm-project?rev=207015&view=rev
Log:
Convert test to FileCheck
Modified:
llvm/trunk/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll
Modified: llvm/trunk/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll?rev=207015&r1=207014&r2=207015&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll (original)
+++ llvm/trunk/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll Wed Apr 23 14:32:37 2014
@@ -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()
More information about the llvm-commits
mailing list