Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
f7603f6ca76aec055cbf1644c89ce0dca9fa2c03
/
.
/
test
/
CodeGen
/
arm-inline-asm.c
blob: 0152b050fd7fe9e2d11b0ff69326ec85bc9918c2 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -w -o - %s | FileCheck %s
void
t1
(
void
*
f
,
int
g
)
{
// CHECK: call void asm "str $1, $0", "=*Q,r"
asm
(
"str %1, %0"
:
"=Q"
(
f
)
:
"r"
(
g
));
}