diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-10-19 20:28:44 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-10-19 20:28:44 +0000 |
commit | 1f432eec1a4151c7a9bcb5e98ae32f36486ef4af (patch) | |
tree | b1f54349ca1c4b88c1241e77c43c159b9862aa05 | |
parent | ca082d0f89b22ff3df169c67163362b75dbe9983 (diff) |
tests: Fix two tests to just use -triple instead of XFAIL+XTARGET.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166304 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/2004-03-16-AsmRegisterCrash.c | 5 | ||||
-rw-r--r-- | test/CodeGen/2010-06-17-asmcrash.c | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/test/CodeGen/2004-03-16-AsmRegisterCrash.c b/test/CodeGen/2004-03-16-AsmRegisterCrash.c index 515d2436b1..492e24853d 100644 --- a/test/CodeGen/2004-03-16-AsmRegisterCrash.c +++ b/test/CodeGen/2004-03-16-AsmRegisterCrash.c @@ -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__ diff --git a/test/CodeGen/2010-06-17-asmcrash.c b/test/CodeGen/2010-06-17-asmcrash.c index 8e9485bba9..26e5f1417a 100644 --- a/test/CodeGen/2010-06-17-asmcrash.c +++ b/test/CodeGen/2010-06-17-asmcrash.c @@ -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; |