[llvm-commits] [llvm] r113237 - in /llvm/trunk/test/CodeGen/X86: dbg-declare-fastisel.ll dbg-declare-hybrid.ll dbg-declare-isel.ll

Chris Lattner clattner at apple.com
Tue Sep 7 12:47:47 PDT 2010


On Sep 7, 2010, at 11:17 AM, Devang Patel wrote:

> Author: dpatel
> Date: Tue Sep  7 13:17:56 2010
> New Revision: 113237
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=113237&view=rev
> Log:
> Fix command line used to link these test cases.

Are these tests going to work on non-native hosts (e.g. a mips linux box)?  These seem like something that should be in a different test suite.

-Chris

> 
> Modified:
>    llvm/trunk/test/CodeGen/X86/dbg-declare-fastisel.ll
>    llvm/trunk/test/CodeGen/X86/dbg-declare-hybrid.ll
>    llvm/trunk/test/CodeGen/X86/dbg-declare-isel.ll
> 
> Modified: llvm/trunk/test/CodeGen/X86/dbg-declare-fastisel.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dbg-declare-fastisel.ll?rev=113237&r1=113236&r2=113237&view=diff
> ==============================================================================
> --- llvm/trunk/test/CodeGen/X86/dbg-declare-fastisel.ll (original)
> +++ llvm/trunk/test/CodeGen/X86/dbg-declare-fastisel.ll Tue Sep  7 13:17:56 2010
> @@ -1,7 +1,7 @@
> ; This test case checks handling of llvm.dbg.declare intrinsic during fast-isel.
> ; RUN: llc -mtriple=x86_64-apple-darwin --disable-fp-elim -O0 %s -o %t.s
> ; RUN: %compile_c -m64 %t.s -o %t.o
> -; RUN: %link %t.o -o %t.exe
> +; RUN: %link -m64 %t.o -o %t.exe
> ; RUN: echo {break f1\n break f2 \n break f3 \n break f5 \n break f9 \n run \n p i \n c \n p i\n c \n p i\n c \n p i\n c \n p i.x} > %t.in
> ; RUN: gdb -q -batch -n -x %t.in %t.exe >& %t.out
> ; RUN: grep "1 = 42" %t.out
> 
> Modified: llvm/trunk/test/CodeGen/X86/dbg-declare-hybrid.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dbg-declare-hybrid.ll?rev=113237&r1=113236&r2=113237&view=diff
> ==============================================================================
> --- llvm/trunk/test/CodeGen/X86/dbg-declare-hybrid.ll (original)
> +++ llvm/trunk/test/CodeGen/X86/dbg-declare-hybrid.ll Tue Sep  7 13:17:56 2010
> @@ -2,7 +2,7 @@
> ; using fast-isel but switch back to DAG building at some point.
> ; RUN: llc  -mtriple=x86_64-apple-darwin --disable-fp-elim -O0  %s -o %t.s
> ; RUN: %compile_c -m64 %t.s -o %t.o
> -; RUN: %link %t.o -o %t.exe
> +; RUN: %link -m64 %t.o -o %t.exe
> ; RUN: echo {break f1\n break f4\n break f5\n run \n p i\n c \n p i\n c \n p i\n} > %t.in
> ; RUN: gdb -q -batch -n -x %t.in %t.exe >& %t.out
> ; RUN: grep "1 = 42" %t.out
> 
> Modified: llvm/trunk/test/CodeGen/X86/dbg-declare-isel.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dbg-declare-isel.ll?rev=113237&r1=113236&r2=113237&view=diff
> ==============================================================================
> --- llvm/trunk/test/CodeGen/X86/dbg-declare-isel.ll (original)
> +++ llvm/trunk/test/CodeGen/X86/dbg-declare-isel.ll Tue Sep  7 13:17:56 2010
> @@ -1,7 +1,7 @@
> ; This test case checks handling of llvm.dbg.declare intrinsic during isel.
> ; RUN: llc  -mtriple=x86_64-apple-darwin --disable-fp-elim -O0 -fast-isel=false %s -o %t.s
> ; RUN: %compile_c -m64 %t.s -o %t.o
> -; RUN: %link %t.o -o %t.exe
> +; RUN: %link -m64 %t.o -o %t.exe
> ; RUN: echo {break f1\n break f2 \n break f7 \n break f8 \n break f9 \n break f10 \n run \n p i\n c \n p i\n c \n p i.x\n c \n p i.x\n c \n p i.x \n c \n p i.x \n} > %t.in
> ; RUN: gdb -q -batch -n -x %t.in %t.exe >& %t.out
> ; RUN: grep "1 = 42" %t.out
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list