Sign in
cobalt
/
cobalt
/
6c3b32a7dc6eaf2946073e6fa29281b8cb58f1e3
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
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
));
}