llvm::TargetLoweringBase::getPartialReduceMLAAction

Return how a partial-reduce multiply-accumulate node with the given accumulator and input types should be treated.

Synopsis

Declared in <llvm/CodeGen/TargetLowering.h>

LegalizeAction
getPartialReduceMLAAction(
    unsigned int Opc,
    EVT AccVT,
    EVT InputVT) const;

Description

Return how a PARTIAL_REDUCE_U/SMLA node with Acc type AccVT and Input type InputVT should be treated. Either it's legal, needs to be promoted to a larger size, needs to be expanded to some other code sequence, or the target has a custom expander for it.

Return Value

How a partial-reduce multiply-accumulate node with the given accumulator and input types should be treated.

Parameters

NameDescription
OpcOperation opcode.
AccVTAccumulator value type.
InputVTInput value type.