repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git]
/
test
/
FrontendC
/
2007-04-13-InlineAsmStruct2.c
blob
e4870e75be2f8bf9cfe0af7245fd5c80cf963b38
1
// RUN: %llvmgcc %s -S -emit-llvm -o - | grep {call void asm}
2
3
struct
V
{
short
X
,
Y
; };
4
int
bar
() {
5
struct
V bar
;
6
__asm__
volatile
(
"foo %0
\n
"
::
"r"
(
bar
));
7
return
bar
.
X
;
8
}
9