Sign in
ara-mdk
/
platform
/
external
/
clang
/
2710ed8fd997be04ff447b8be2190f8fb34ac22b
/
.
/
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
));
}