repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
FrontendC
/
2010-03-10-arm-asmreg.c
blob
70d3681ea40e80d864b91910b8861f5d0e7a88b6
1
// RUN: %llvmgcc %s -S -O0 -o - | FileCheck %s
2
// pr6552
3
4
// XFAIL: *
5
// XTARGET: arm
6
7
extern
void
bar
(
unsigned int
ip
);
8
9
// CHECK: mov r0, r12
10
void
foo
(
void
)
11
{
12
register
unsigned int
ip
__asm
(
"ip"
);
13
bar
(
ip
);
14
}
15