blob: 70d3681ea40e80d864b91910b8861f5d0e7a88b6 [file] [log] [blame]
// 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);
}