Sign in
llvm
/
llvm-project
/
61a23646c977f5530829742fdf5b901b7d9815a2
/
.
/
llvm
/
test
/
CodeGen
/
Generic
/
builtin-expect-with-probability.ll
blob: aef134b636d5a770ee7e0b1f09baa4f48202d0c6 [
file
] [
log
] [
blame
]
; RUN: llc < %s
declare
i32
@llvm.expect.with.probability
(
i32
,
i32
,
double
)
define
i32
@test1
(
i32
%val
)
nounwind
{
%expected
=
call
i32
@llvm.expect.with.probability
(
i32
%val
,
i32
1
,
double
0.5
)
ret
i32
%expected
}