Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
2f13eb116e62161c5e4d198f7831f226e5cea9da
/
.
/
test
/
CodeGen
/
arm-inline-asm.c
blob: 95bb507c2798b4151ab66cd1a14e33d821a11f5d [
file
] [
log
] [
blame
]
// REQUIRES: arm-registered-target
// 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
));
}