]> granicus.if.org Git - clang/commitdiff
tests: Fix two tests to just use -triple instead of XFAIL+XTARGET.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 19 Oct 2012 20:28:44 +0000 (20:28 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 19 Oct 2012 20:28:44 +0000 (20:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166304 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/2004-03-16-AsmRegisterCrash.c
test/CodeGen/2010-06-17-asmcrash.c

index 515d2436b1a8262d2e912f973e19224422a5f878..492e24853dec43a384b14cdd90ee92a106f06fc3 100644 (file)
@@ -1,6 +1,5 @@
-// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null
-// XFAIL: *
-// XTARGET: arm, i386, i686, x86_64
+// RUN: %clang_cc1 -triple armv7-unknown-unknown %s  -o /dev/null
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown %s  -o /dev/null
 
 int foo() {
 #ifdef __arm__
index 8e9485bba9b8715b61f1aa3b7405b0d89628ff94..26e5f1417a401116e39a01f1d2d5de7f4d6d81a9 100644 (file)
@@ -1,6 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o - %s | llc -mtriple=x86_64-apple-darwin | FileCheck %s
-// XFAIL: *
-// XTARGET: x86,i386,i686
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -O1 -S -o - %s | FileCheck %s
 
 typedef long long int64_t;
 typedef unsigned char uint8_t;