blob: 70d3681ea40e80d864b91910b8861f5d0e7a88b6 [file] [log] [blame]
Bob Wilsonc81f0af2010-03-10 17:54:11 +00001// RUN: %llvmgcc %s -S -O0 -o - | FileCheck %s
2// pr6552
3
4// XFAIL: *
5// XTARGET: arm
6
7extern void bar(unsigned int ip);
8
9// CHECK: mov r0, r12
10void foo(void)
11{
12 register unsigned int ip __asm ("ip");
13 bar(ip);
14}
15