llvm::getMinMaxReductionPredicate

Returns the comparison predicate used when expanding a min/max reduction.

Synopsis

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

CmpInst::Predicate
getMinMaxReductionPredicate(RecurKind RK);

Return Value

The comparison predicate for the min/max reduction.

Parameters

NameDescription
RKRecurrence kind describing the min/max reduction.