commit | 2223441b2927d7442b337806998f660eded40c8f | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@apple.com> | Wed Jul 27 23:44:48 2011 +0000 |
committer | Eric Christopher <echristo@apple.com> | Wed Jul 27 23:44:48 2011 +0000 |
tree | a6d32b39c5428b898b8c90c5d5ad6f2640e64064 | |
parent | c154ec84c02636b0231d0f6f17a27582d12c7c05 [diff] |
No one cares about ppc, but make this work for arm and x86 and xfail the rest. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136297 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/2004-03-16-AsmRegisterCrash.c b/test/CodeGen/2004-03-16-AsmRegisterCrash.c index c727808..13bafd0 100644 --- a/test/CodeGen/2004-03-16-AsmRegisterCrash.c +++ b/test/CodeGen/2004-03-16-AsmRegisterCrash.c
@@ -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");