Returns a Min/Max operation corresponding to MinMaxRecurrenceKind. The Builder's fast‐math‐flags must be set to propagate the expected values.
Synopsis
Declared in <llvm/Transforms/Utils/LoopUtils.h>
Value*
createMinMaxOp(
IRBuilderBase& Builder,
RecurKind RK,
Value* Left,
Value* Right);
Return Value
The created min/max operation.
Parameters
Name |
Description |
Builder |
IR builder used to create the min/max operation. |
RK |
Recurrence kind selecting the min/max variant. |
Left |
Left‐hand operand. |
Right |
Right‐hand operand. |
Created with MrDocs