llvm::TargetLoweringBase::isFMADLegal

Return true if the operation can be combined with another to form an FMAD node.

Synopses

Declared in <llvm/CodeGen/TargetLowering.h>

Return true if the operation can be combined with another to form an FMAD node.

virtual
bool
isFMADLegal(
    MachineInstr const& MI,
    LLT Ty) const;
» more...

Return true if the operation can be combined with another to form an FMAD node.

virtual
bool
isFMADLegal(
    SelectionDAG const& DAG,
    SDNode const* N) const;
» more...

Return Value

True if the operation can be combined with another to form an FMAD node.

Parameters

NameDescription
MIMachine instruction being queried or modified.
TyType of the constant or operation.
DAGSelectionDAG providing context.
NSDNode being queried.