[llvm-commits] [llvm] r113285 - 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 14:09:06 PDT 2010


On Sep 7, 2010, at 1:59 PM, Devang Patel wrote:

> Author: dpatel
> Date: Tue Sep  7 15:59:09 2010
> New Revision: 113285
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=113285&view=rev
> Log:
> There is no need to force target if the test is going to run on other x86 platforms.

Devang, "-m64" is not a portable option to pass to the compiler.

-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=113285&r1=113284&r2=113285&view=diff
> ==============================================================================
> --- llvm/trunk/test/CodeGen/X86/dbg-declare-fastisel.ll (original)
> +++ llvm/trunk/test/CodeGen/X86/dbg-declare-fastisel.ll Tue Sep  7 15:59:09 2010
> @@ -1,5 +1,5 @@
> ; 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: llc --disable-fp-elim -O0 %s -o %t.s
> ; RUN: %compile_c -m64 %t.s -o %t.o
> ; 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
> @@ -10,8 +10,6 @@
> ; RUN: grep "4 = 46" %t.out
> ; RUN: grep "5 = 51" %t.out
> 
> -; XTARGET: darwin
> -target triple = "x86_64-apple-darwin"
> %struct.XYZ = type { i32, i32, i32, i32, i32 }
> 
> ; Check handling of llvm.dbg.declare for an argument referred through alloca, where
> 
> 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=113285&r1=113284&r2=113285&view=diff
> ==============================================================================
> --- llvm/trunk/test/CodeGen/X86/dbg-declare-hybrid.ll (original)
> +++ llvm/trunk/test/CodeGen/X86/dbg-declare-hybrid.ll Tue Sep  7 15:59:09 2010
> @@ -1,6 +1,6 @@
> ; This test case checks handling of llvm.dbg.declare intrinsic during hybrid mode where we begin
> ; 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: llc  --disable-fp-elim -O0  %s -o %t.s
> ; RUN: %compile_c -m64 %t.s -o %t.o
> ; 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
> @@ -9,8 +9,6 @@
> ; RUN: grep "2 = 45" %t.out
> ; RUN: grep "3 = 46" %t.out
> 
> -; XTARGET: darwin
> -target triple = "x86_64-apple-darwin"
> %struct.XYZ = type { i32, i32, i32, i32, i32 }
> %0 = type { i64, i32 }
> define %0 @foobar() {
> 
> 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=113285&r1=113284&r2=113285&view=diff
> ==============================================================================
> --- llvm/trunk/test/CodeGen/X86/dbg-declare-isel.ll (original)
> +++ llvm/trunk/test/CodeGen/X86/dbg-declare-isel.ll Tue Sep  7 15:59:09 2010
> @@ -1,5 +1,5 @@
> ; 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: llc  --disable-fp-elim -O0 -fast-isel=false %s -o %t.s
> ; RUN: %compile_c -m64 %t.s -o %t.o
> ; 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
> @@ -11,8 +11,6 @@
> ; RUN: grep "5 = 51" %t.out
> ; RUN: grep "6 = 51" %t.out
> 
> -; XTARGET: darwin
> -target triple = "x86_64-apple-darwin"
> %struct.XYZ = type { i32, i32, i32, i32, i32 }
> 
> ; Check handling of llvm.dbg.declare for an argument referred through alloca, where
> 
> 
> _______________________________________________
> 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