Create a constrained fp cmp.
Declared in <llvm/IR/IRBuilder.h>
CallInst*
CreateConstrainedFPCmp(
Intrinsic::ID ID,
CmpInst::Predicate P,
Value* L,
Value* R,
Twine const& Name = "",
std::optional<fp::ExceptionBehavior> Except = std::nullopt);
The created constrained floating-point compare.
| Name | Description |
|---|---|
| ID | Intrinsic or statepoint identifier. |
| P | Comparison predicate. |
| L | Debug location to apply to created instructions. |
| R | Right-hand side operand. |
| Name | Name of the new instruction or value. |
| Except | Exception behavior for a constrained FP intrinsic. |