Changes in directory llvm/test/Transforms/SimplifyLibCalls:
FFS.ll updated: 1.5 -> 1.6 FPrintF.ll updated: 1.2 -> 1.3 MemCpy.ll updated: 1.4 -> 1.5 MemMove.ll updated: 1.4 -> 1.5 Printf.ll updated: 1.1 -> 1.2 Puts.ll updated: 1.4 -> 1.5 SPrintF.ll updated: 1.3 -> 1.4 StrCat.ll updated: 1.2 -> 1.3 StrChr.ll updated: 1.3 -> 1.4 StrCmp.ll updated: 1.2 -> 1.3 StrCpy.ll updated: 1.3 -> 1.4 StrLen.ll updated: 1.6 -> 1.7 StrNCmp.ll updated: 1.3 -> 1.4 ToAscii.ll updated: 1.2 -> 1.3 memcmp.ll updated: 1.2 -> 1.3 --- Log message: For PR1319: http://llvm.org/PR1319 : Fix syntax of tests to ensure grep pattern is properly quoted. --- Diffs of the changes: (+30 -19) FFS.ll | 3 ++- FPrintF.ll | 3 ++- MemCpy.ll | 4 ++-- MemMove.ll | 4 ++-- Printf.ll | 5 +++-- Puts.ll | 3 ++- SPrintF.ll | 4 ++-- StrCat.ll | 3 ++- StrChr.ll | 3 ++- StrCmp.ll | 3 ++- StrCpy.ll | 3 ++- StrLen.ll | 2 +- StrNCmp.ll | 3 ++- ToAscii.ll | 3 ++- memcmp.ll | 3 ++- 15 files changed, 30 insertions(+), 19 deletions(-) Index: llvm/test/Transforms/SimplifyLibCalls/FFS.ll diff -u llvm/test/Transforms/SimplifyLibCalls/FFS.ll:1.5 llvm/test/Transforms/SimplifyLibCalls/FFS.ll:1.6 --- llvm/test/Transforms/SimplifyLibCalls/FFS.ll:1.5 Fri Dec 1 22:23:10 2006 +++ llvm/test/Transforms/SimplifyLibCalls/FFS.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,6 @@ ; Test that the ToAsciiOptimizer works correctly -; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*%ffs' +; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \ +; RUN: not grep {call.*%ffs} declare int %ffs(int) declare int %ffsl(int) Index: llvm/test/Transforms/SimplifyLibCalls/FPrintF.ll diff -u llvm/test/Transforms/SimplifyLibCalls/FPrintF.ll:1.2 llvm/test/Transforms/SimplifyLibCalls/FPrintF.ll:1.3 --- llvm/test/Transforms/SimplifyLibCalls/FPrintF.ll:1.2 Fri Dec 1 22:23:10 2006 +++ llvm/test/Transforms/SimplifyLibCalls/FPrintF.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,6 @@ ; Test that the FPrintFOptimizer works correctly -; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*fprintf' +; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \ +; RUN: not grep {call.*fprintf} ; %struct._IO_FILE = type { int, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, %struct._IO_marker*, %struct._IO_FILE*, int, int, int, ushort, sbyte, [1 x sbyte], sbyte*, long, sbyte*, sbyte*, int, [52 x sbyte] } Index: llvm/test/Transforms/SimplifyLibCalls/MemCpy.ll diff -u llvm/test/Transforms/SimplifyLibCalls/MemCpy.ll:1.4 llvm/test/Transforms/SimplifyLibCalls/MemCpy.ll:1.5 --- llvm/test/Transforms/SimplifyLibCalls/MemCpy.ll:1.4 Sat Dec 2 14:41:53 2006 +++ llvm/test/Transforms/SimplifyLibCalls/MemCpy.ll Mon Apr 16 10:31:49 2007 @@ -1,6 +1,6 @@ ; Test that the StrCatOptimizer works correctly -; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -simplify-libcalls -disable-output && -; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memcpy.i32' +; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -simplify-libcalls | \ +; RUN: llvm-dis | not grep {call.*llvm.memcpy.i32} declare void %llvm.memcpy.i32(sbyte*,sbyte*,uint,uint) %h = constant [2 x sbyte] c"h\00" Index: llvm/test/Transforms/SimplifyLibCalls/MemMove.ll diff -u llvm/test/Transforms/SimplifyLibCalls/MemMove.ll:1.4 llvm/test/Transforms/SimplifyLibCalls/MemMove.ll:1.5 --- llvm/test/Transforms/SimplifyLibCalls/MemMove.ll:1.4 Sat Dec 2 14:41:53 2006 +++ llvm/test/Transforms/SimplifyLibCalls/MemMove.ll Mon Apr 16 10:31:49 2007 @@ -1,6 +1,6 @@ ; Test that the StrCatOptimizer works correctly -; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -simplify-libcalls -disable-output && -; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memmove.i32' +; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -simplify-libcalls | \ +; RUN: llvm-dis | not grep {call.*llvm.memmove.i32} declare void %llvm.memmove.i32(sbyte*,sbyte*,uint,uint) %h = constant [2 x sbyte] c"h\00" Index: llvm/test/Transforms/SimplifyLibCalls/Printf.ll diff -u llvm/test/Transforms/SimplifyLibCalls/Printf.ll:1.1 llvm/test/Transforms/SimplifyLibCalls/Printf.ll:1.2 --- llvm/test/Transforms/SimplifyLibCalls/Printf.ll:1.1 Fri Apr 13 20:17:38 2007 +++ llvm/test/Transforms/SimplifyLibCalls/Printf.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,6 @@ -; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep putchar && -; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*printf' +; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep putchar +; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \ +; RUN: not grep {call.*printf} @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] Index: llvm/test/Transforms/SimplifyLibCalls/Puts.ll diff -u llvm/test/Transforms/SimplifyLibCalls/Puts.ll:1.4 llvm/test/Transforms/SimplifyLibCalls/Puts.ll:1.5 --- llvm/test/Transforms/SimplifyLibCalls/Puts.ll:1.4 Fri Dec 1 22:23:10 2006 +++ llvm/test/Transforms/SimplifyLibCalls/Puts.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,6 @@ ; Test that the PutsCatOptimizer works correctly -; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*fputs' +; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \ +; RUN: not grep {call.*fputs} ; %struct._IO_FILE = type { int, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, %struct._IO_marker*, %struct._IO_FILE*, int, int, int, ushort, sbyte, [1 x sbyte], sbyte*, long, sbyte*, sbyte*, int, [52 x sbyte] } %struct._IO_marker = type { %struct._IO_marker*, %struct._IO_FILE*, int } Index: llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll diff -u llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll:1.3 llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll:1.4 --- llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll:1.3 Fri Dec 1 22:23:10 2006 +++ llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll Mon Apr 16 10:31:49 2007 @@ -1,6 +1,6 @@ ; Test that the SPrintFOptimizer works correctly -; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls -disable-output && -; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*sprintf' +; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \ +; RUN: not grep {call.*sprintf} declare int %sprintf(sbyte*,sbyte*,...) declare int %puts(sbyte*) Index: llvm/test/Transforms/SimplifyLibCalls/StrCat.ll diff -u llvm/test/Transforms/SimplifyLibCalls/StrCat.ll:1.2 llvm/test/Transforms/SimplifyLibCalls/StrCat.ll:1.3 --- llvm/test/Transforms/SimplifyLibCalls/StrCat.ll:1.2 Fri Dec 1 22:23:10 2006 +++ llvm/test/Transforms/SimplifyLibCalls/StrCat.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,6 @@ ; Test that the StrCatOptimizer works correctly -; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*strcat' +; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \ +; RUN: not grep {call.*strcat} declare sbyte* %strcat(sbyte*,sbyte*) declare int %puts(sbyte*) Index: llvm/test/Transforms/SimplifyLibCalls/StrChr.ll diff -u llvm/test/Transforms/SimplifyLibCalls/StrChr.ll:1.3 llvm/test/Transforms/SimplifyLibCalls/StrChr.ll:1.4 --- llvm/test/Transforms/SimplifyLibCalls/StrChr.ll:1.3 Fri Dec 1 22:23:10 2006 +++ llvm/test/Transforms/SimplifyLibCalls/StrChr.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,6 @@ ; Test that the StrChrOptimizer works correctly -; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*%strchr' +; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \ +; RUN: not grep {call.*%strchr} declare sbyte* %strchr(sbyte*,int) declare int %puts(sbyte*) Index: llvm/test/Transforms/SimplifyLibCalls/StrCmp.ll diff -u llvm/test/Transforms/SimplifyLibCalls/StrCmp.ll:1.2 llvm/test/Transforms/SimplifyLibCalls/StrCmp.ll:1.3 --- llvm/test/Transforms/SimplifyLibCalls/StrCmp.ll:1.2 Fri Dec 1 22:23:10 2006 +++ llvm/test/Transforms/SimplifyLibCalls/StrCmp.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,6 @@ ; Test that the StrCmpOptimizer works correctly -; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*strcmp' +; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \ +; RUN: not grep {call.*strcmp} declare int %strcmp(sbyte*,sbyte*) declare int %puts(sbyte*) Index: llvm/test/Transforms/SimplifyLibCalls/StrCpy.ll diff -u llvm/test/Transforms/SimplifyLibCalls/StrCpy.ll:1.3 llvm/test/Transforms/SimplifyLibCalls/StrCpy.ll:1.4 --- llvm/test/Transforms/SimplifyLibCalls/StrCpy.ll:1.3 Fri Dec 1 22:23:10 2006 +++ llvm/test/Transforms/SimplifyLibCalls/StrCpy.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,6 @@ ; Test that the StrCpyOptimizer works correctly -; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*strcpy' +; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \ +; RUN: not grep {call.*strcpy} declare sbyte* %strcpy(sbyte*,sbyte*) declare int %puts(sbyte*) Index: llvm/test/Transforms/SimplifyLibCalls/StrLen.ll diff -u llvm/test/Transforms/SimplifyLibCalls/StrLen.ll:1.6 llvm/test/Transforms/SimplifyLibCalls/StrLen.ll:1.7 --- llvm/test/Transforms/SimplifyLibCalls/StrLen.ll:1.6 Fri Jan 26 02:25:06 2007 +++ llvm/test/Transforms/SimplifyLibCalls/StrLen.ll Mon Apr 16 10:31:49 2007 @@ -1,6 +1,6 @@ ; Test that the StrCatOptimizer works correctly ; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \ -; RUN: not grep 'call.*strlen' +; RUN: not grep {call.*strlen} target datalayout = "e-p:32:32" Index: llvm/test/Transforms/SimplifyLibCalls/StrNCmp.ll diff -u llvm/test/Transforms/SimplifyLibCalls/StrNCmp.ll:1.3 llvm/test/Transforms/SimplifyLibCalls/StrNCmp.ll:1.4 --- llvm/test/Transforms/SimplifyLibCalls/StrNCmp.ll:1.3 Fri Dec 1 22:23:10 2006 +++ llvm/test/Transforms/SimplifyLibCalls/StrNCmp.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,6 @@ ; Test that the StrNCmpOptimizer works correctly -; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*strncmp' +; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \ +; RUN: not grep {call.*strncmp} declare int %strncmp(sbyte*,sbyte*,int) declare int %puts(sbyte*) Index: llvm/test/Transforms/SimplifyLibCalls/ToAscii.ll diff -u llvm/test/Transforms/SimplifyLibCalls/ToAscii.ll:1.2 llvm/test/Transforms/SimplifyLibCalls/ToAscii.ll:1.3 --- llvm/test/Transforms/SimplifyLibCalls/ToAscii.ll:1.2 Fri Dec 1 22:23:10 2006 +++ llvm/test/Transforms/SimplifyLibCalls/ToAscii.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,6 @@ ; Test that the ToAsciiOptimizer works correctly -; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*toascii' +; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \ +; RUN: not grep {call.*toascii} declare int %toascii(int) Index: llvm/test/Transforms/SimplifyLibCalls/memcmp.ll diff -u llvm/test/Transforms/SimplifyLibCalls/memcmp.ll:1.2 llvm/test/Transforms/SimplifyLibCalls/memcmp.ll:1.3 --- llvm/test/Transforms/SimplifyLibCalls/memcmp.ll:1.2 Fri Dec 1 22:23:10 2006 +++ llvm/test/Transforms/SimplifyLibCalls/memcmp.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,6 @@ ; Test that the memcmpOptimizer works correctly -; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*memcmp' && +; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \ +; RUN: not grep {call.*memcmp} ; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls -disable-output declare int %memcmp(sbyte*,sbyte*,int) _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits