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
}