llvm::getMinMaxReductionIntrinsicOp

Returns the min/max intrinsic used when expanding a min/max reduction.

Synopsis

Declared in <llvm/Transforms/Utils/LoopUtils.h>

Intrinsic::ID
getMinMaxReductionIntrinsicOp(RecurKind RK);

Return Value

The min/max intrinsic used when expanding the reduction.

Parameters

NameDescription
RKRecurrence kind describing the min/max reduction.