Changes in directory llvm/test/CodeGen/X86:
2005-01-17-CycleInDAG.ll updated: 1.3 -> 1.4 2005-12-03-IndirectTailCall.ll updated: 1.5 -> 1.6 2006-03-01-InstrSchedBug.ll updated: 1.2 -> 1.3 2006-05-08-InstrSched.ll updated: 1.5 -> 1.6 2007-01-13-StackPtrIndex.ll updated: 1.5 -> 1.6 2007-02-04-OrAddrMode.ll updated: 1.3 -> 1.4 overlap-add.ll updated: 1.6 -> 1.7 setuge.ll updated: 1.2 -> 1.3 shift-one.ll updated: 1.2 -> 1.3 trunc-to-bool.ll updated: 1.10 -> 1.11 vec_shuffle-10.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: (+18 -16) 2005-01-17-CycleInDAG.ll | 2 +- 2005-12-03-IndirectTailCall.ll | 2 +- 2006-03-01-InstrSchedBug.ll | 2 +- 2006-05-08-InstrSched.ll | 3 ++- 2007-01-13-StackPtrIndex.ll | 4 ++-- 2007-02-04-OrAddrMode.ll | 2 +- overlap-add.ll | 2 +- setuge.ll | 2 +- shift-one.ll | 2 +- trunc-to-bool.ll | 3 +-- vec_shuffle-10.ll | 10 ++++++---- 11 files changed, 18 insertions(+), 16 deletions(-) Index: llvm/test/CodeGen/X86/2005-01-17-CycleInDAG.ll diff -u llvm/test/CodeGen/X86/2005-01-17-CycleInDAG.ll:1.3 llvm/test/CodeGen/X86/2005-01-17-CycleInDAG.ll:1.4 --- llvm/test/CodeGen/X86/2005-01-17-CycleInDAG.ll:1.3 Fri Dec 1 22:23:08 2006 +++ llvm/test/CodeGen/X86/2005-01-17-CycleInDAG.ll Mon Apr 16 10:31:49 2007 @@ -3,7 +3,7 @@ ; is invalid code (there is no correct way to order the instruction). Check ; that we do not fold the load into the sub. -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep 'sub.*GLOBAL' +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep sub.*GLOBAL %GLOBAL = external global int Index: llvm/test/CodeGen/X86/2005-12-03-IndirectTailCall.ll diff -u llvm/test/CodeGen/X86/2005-12-03-IndirectTailCall.ll:1.5 llvm/test/CodeGen/X86/2005-12-03-IndirectTailCall.ll:1.6 --- llvm/test/CodeGen/X86/2005-12-03-IndirectTailCall.ll:1.5 Wed Feb 28 12:38:58 2007 +++ llvm/test/CodeGen/X86/2005-12-03-IndirectTailCall.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,5 @@ ; XFAIL: * -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep 'jmp \*ecx' +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep {jmp \\*ecx} declare int %putchar(int) int %main(){ Index: llvm/test/CodeGen/X86/2006-03-01-InstrSchedBug.ll diff -u llvm/test/CodeGen/X86/2006-03-01-InstrSchedBug.ll:1.2 llvm/test/CodeGen/X86/2006-03-01-InstrSchedBug.ll:1.3 --- llvm/test/CodeGen/X86/2006-03-01-InstrSchedBug.ll:1.2 Fri Dec 1 22:23:08 2006 +++ llvm/test/CodeGen/X86/2006-03-01-InstrSchedBug.ll Mon Apr 16 10:31:49 2007 @@ -1,4 +1,4 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep 'subl.*%esp' +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep {subl.*%esp} int %f(int %a, int %b) { %tmp.2 = mul int %a, %a Index: llvm/test/CodeGen/X86/2006-05-08-InstrSched.ll diff -u llvm/test/CodeGen/X86/2006-05-08-InstrSched.ll:1.5 llvm/test/CodeGen/X86/2006-05-08-InstrSched.ll:1.6 --- llvm/test/CodeGen/X86/2006-05-08-InstrSched.ll:1.5 Fri Dec 1 22:23:08 2006 +++ llvm/test/CodeGen/X86/2006-05-08-InstrSched.ll Mon Apr 16 10:31:49 2007 @@ -1,4 +1,5 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -relocation-model=static | not grep 'subl.*%esp' +; RUN: llvm-upgrade < %s | llvm-as | \ +; RUN: llc -march=x86 -relocation-model=static | not grep {subl.*%esp} %A = external global ushort* %B = external global uint Index: llvm/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll diff -u llvm/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll:1.5 llvm/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll:1.6 --- llvm/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll:1.5 Tue Mar 27 21:38:26 2007 +++ llvm/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | llc -march=x86-64 -sched=none | grep leaq && -; RUN: llvm-as < %s | llc -march=x86-64 -sched=none | not grep ',%rsp)' +; RUN: llvm-as < %s | llc -march=x86-64 -sched=none | grep leaq +; RUN: llvm-as < %s | llc -march=x86-64 -sched=none | not grep {,%rsp)} ; PR1103 target datalayout = "e-p:64:64" Index: llvm/test/CodeGen/X86/2007-02-04-OrAddrMode.ll diff -u llvm/test/CodeGen/X86/2007-02-04-OrAddrMode.ll:1.3 llvm/test/CodeGen/X86/2007-02-04-OrAddrMode.ll:1.4 --- llvm/test/CodeGen/X86/2007-02-04-OrAddrMode.ll:1.3 Sun Apr 15 17:16:46 2007 +++ llvm/test/CodeGen/X86/2007-02-04-OrAddrMode.ll Mon Apr 16 10:31:49 2007 @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llc -march=x86 | grep {orl \$1, %eax} -; RUN: llvm-as < %s | llc -march=x86 | grep {leal 3(,%eax,8)' +; RUN: llvm-as < %s | llc -march=x86 | grep {leal 3(,%eax,8)} ;; This example can't fold the or into an LEA. define i32 @test(float ** %tmp2, i32 %tmp12) { Index: llvm/test/CodeGen/X86/overlap-add.ll diff -u llvm/test/CodeGen/X86/overlap-add.ll:1.6 llvm/test/CodeGen/X86/overlap-add.ll:1.7 --- llvm/test/CodeGen/X86/overlap-add.ll:1.6 Mon Feb 5 04:09:41 2007 +++ llvm/test/CodeGen/X86/overlap-add.ll Mon Apr 16 10:31:49 2007 @@ -7,7 +7,7 @@ ; Check that the shift gets turned into an LEA. ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel | \ -; RUN: not grep 'mov E.X, E.X' +; RUN: not grep {mov E.X, E.X} ; FIXME: We need live variable information about flags to do this xform safely. :( ; XFAIL: * Index: llvm/test/CodeGen/X86/setuge.ll diff -u llvm/test/CodeGen/X86/setuge.ll:1.2 llvm/test/CodeGen/X86/setuge.ll:1.3 --- llvm/test/CodeGen/X86/setuge.ll:1.2 Fri Dec 1 22:23:08 2006 +++ llvm/test/CodeGen/X86/setuge.ll Mon Apr 16 10:31:49 2007 @@ -1,4 +1,4 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep 'set' +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep set declare bool %llvm.isunordered.f32(float, float) Index: llvm/test/CodeGen/X86/shift-one.ll diff -u llvm/test/CodeGen/X86/shift-one.ll:1.2 llvm/test/CodeGen/X86/shift-one.ll:1.3 --- llvm/test/CodeGen/X86/shift-one.ll:1.2 Fri Dec 1 22:23:08 2006 +++ llvm/test/CodeGen/X86/shift-one.ll Mon Apr 16 10:31:49 2007 @@ -1,4 +1,4 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep 'leal' +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep leal %x = external global int Index: llvm/test/CodeGen/X86/trunc-to-bool.ll diff -u llvm/test/CodeGen/X86/trunc-to-bool.ll:1.10 llvm/test/CodeGen/X86/trunc-to-bool.ll:1.11 --- llvm/test/CodeGen/X86/trunc-to-bool.ll:1.10 Thu Feb 1 20:16:22 2007 +++ llvm/test/CodeGen/X86/trunc-to-bool.ll Mon Apr 16 10:31:49 2007 @@ -1,8 +1,7 @@ ; An integer truncation to i1 should be done with an and instruction to make ; sure only the LSBit survives. Test that this is the case both for a returned ; value and as the operand of a branch. -; RUN: llvm-as < %s | llc -march=x86 && -; RUN: llvm-as < %s | llc -march=x86 | grep '\(and\)\|\(test.*\$1\)' | \ +; RUN: llvm-as < %s | llc -march=x86 | grep {\\(and\\)\\|\\(test.*\\\$1\\)} | \ ; RUN: wc -l | grep 6 define i1 @test1(i32 %X) zext { Index: llvm/test/CodeGen/X86/vec_shuffle-10.ll diff -u llvm/test/CodeGen/X86/vec_shuffle-10.ll:1.2 llvm/test/CodeGen/X86/vec_shuffle-10.ll:1.3 --- llvm/test/CodeGen/X86/vec_shuffle-10.ll:1.2 Fri Dec 1 22:23:08 2006 +++ llvm/test/CodeGen/X86/vec_shuffle-10.ll Mon Apr 16 10:31:49 2007 @@ -1,7 +1,9 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 && -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | grep unpcklps | wc -l | grep 1 && -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | grep unpckhps | wc -l | grep 1 && -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | not grep 'sub.*esp' +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | \ +; RUN: grep unpcklps | wc -l | grep 1 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | \ +; RUN: grep unpckhps | wc -l | grep 1 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | \ +; RUN: not grep {sub.*esp} void %test(<4 x float>* %res, <4 x float>* %A, <4 x float>* %B) { %tmp = load <4 x float>* %B ; <<4 x float>> [#uses=2] _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits