Sign in
ara-mdk
/
platform
/
external
/
clang
/
c21fed361c11f13db345cba69101578578d8fb79
/
.
/
test
/
CodeGen
/
builtin-expect.c
blob: 8f02c4da78a4e26dbc4a006b7f30a1faf7723107 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
int
x
;
int
y
(
void
);
void
foo
();
void
FUNC
()
{
// CHECK: [[call:%.*]] = call i32 @y
if
(
__builtin_expect
(
x
,
y
()))
foo
();
}