Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
180bb63b482381c5ffcdb2c4eca5c28c0b1f22af
/
.
/
test
/
CodeGen
/
asm-2.c
blob: a58a781e72be1919c6cc0540e57b5ba7e7a6ecb3 [
file
] [
log
] [
blame
]
// RUN: clang-cc -emit-llvm %s -o %t -arch=i386 -O2 &&
// RUN: not grep "load" %t
// <rdar://problem/6841383>
int
cpuid
(
unsigned
data
)
{
int
a
,
b
;
asm
(
"xyz"
:
"=a"
(
a
),
"=d"
(
b
)
:
"a"
(
data
));
return
a
+
b
;
}