mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-01 07:09:02 +00:00

the "fp" register name is not valid on Darwin, and the "ip" register name was broken for all ARM targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98166 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
216 B
C
16 lines
216 B
C
// RUN: %llvmgcc %s -S -O0 -o - | FileCheck %s
|
|
// pr6552
|
|
|
|
// XFAIL: *
|
|
// XTARGET: arm
|
|
|
|
extern void bar(unsigned int ip);
|
|
|
|
// CHECK: mov r0, r12
|
|
void foo(void)
|
|
{
|
|
register unsigned int ip __asm ("ip");
|
|
bar(ip);
|
|
}
|
|
|