There is no need to force target if the test is going to run on other x86 platforms.
authorDevang Patel <dpatel@apple.com>
Tue, 7 Sep 2010 20:59:09 +0000 (20:59 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 7 Sep 2010 20:59:09 +0000 (20:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113285 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/dbg-declare-fastisel.ll
test/CodeGen/X86/dbg-declare-hybrid.ll
test/CodeGen/X86/dbg-declare-isel.ll

index 7ede1edfad1813a66a03d491cd2b6d7a1c3de145..6c4b73aa57cfdf992aca53dc7818a52c8c71489e 100644 (file)
@@ -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
index 4565c35b6ff2966d57e74b51117c6f514a4fb3d0..945d9f947b8bd1d380895bd564b5295ed1044527 100644 (file)
@@ -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() {
index 8e8c2039044fae226f0da81f1dbc9d4b577475d2..fadf96521df1366ff41ee9b044387967416fe32d 100644 (file)
@@ -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