[llvm-commits] [llvm] r125441 - /llvm/trunk/test/Transforms/SimplifyLibCalls/Printf.ll

Daniel Dunbar daniel at zuster.org
Sat Feb 12 10:19:53 PST 2011


Author: ddunbar
Date: Sat Feb 12 12:19:53 2011
New Revision: 125441

URL: http://llvm.org/viewvc/llvm-project?rev=125441&view=rev
Log:
tests: FileCheckize

Modified:
    llvm/trunk/test/Transforms/SimplifyLibCalls/Printf.ll

Modified: llvm/trunk/test/Transforms/SimplifyLibCalls/Printf.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyLibCalls/Printf.ll?rev=125441&r1=125440&r2=125441&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyLibCalls/Printf.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyLibCalls/Printf.ll Sat Feb 12 12:19:53 2011
@@ -1,6 +1,8 @@
-; RUN: opt < %s -simplify-libcalls -S | grep putchar
-; RUN: opt < %s -simplify-libcalls -S | \
-; RUN:   not grep {call.*printf}
+; RUN: opt < %s -simplify-libcalls -S -o %t
+; RUN: FileCheck < %t %s
+
+; CHECK-NOT: call{{.*}}printf
+; CHECK: putchar
 
 @str = internal constant [13 x i8] c"hello world\0A\00"         ; <[13 x i8]*> [#uses=1]
 @str1 = internal constant [2 x i8] c"h\00"              ; <[2 x i8]*> [#uses=1]





More information about the llvm-commits mailing list