diff --git a/docs/LangRef.html b/docs/LangRef.html index ed4e4d58214..d9e02bdeaca 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -306,6 +306,8 @@ 'llvm.stackprotector' Intrinsic
+ declare i32 @llvm.expect.i32(i32 <val>, i32 <expected_val>) + declare i64 @llvm.expect.i64(i64 <val>, i64 <expected_val>) ++ +
The llvm.expect intrinsic provides information about expected (the + most probable) value of val, which can be used by optimizers.
+ +The llvm.expect intrinsic takes two arguments. The first + argument is a value. The second argument is an expected value, this needs to + be a constant value, variables are not allowed.
+ +This intrinsic is lowered to the val.