]> granicus.if.org Git - clang/commitdiff
No one cares about ppc, but make this work for arm and x86 and xfail the rest.
authorEric Christopher <echristo@apple.com>
Wed, 27 Jul 2011 23:44:48 +0000 (23:44 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 27 Jul 2011 23:44:48 +0000 (23:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136297 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/2004-03-16-AsmRegisterCrash.c

index c72780891edb84c30ea4de8f5e359ad31b08da26..13bafd0317ae5425ba45ac783b1a0847f7b074cf 100644 (file)
@@ -1,7 +1,9 @@
 // RUN: %clang_cc1 -emit-llvm %s  -o /dev/null
+// XFAIL: *
+// XTARGET: arm, x86, x86_64
 
 int foo() {
-#ifdef __ppc__
+#ifdef __arm__
   register int X __asm__("r1");
 #else
   register int X __asm__("ebx");