Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
120bf32525829be4622fc85b67e38b2ff0276744
/
.
/
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
();
}