llvm::TargetLoweringBase::isCondCodeLegalOrCustom

Return true if the specified condition code is legal or custom for a comparison of the specified types on this target.

Synopsis

Declared in <llvm/CodeGen/TargetLowering.h>

bool
isCondCodeLegalOrCustom(
    ISD::CondCode CC,
    MVT VT) const;

Return Value

True if the specified condition code is legal or custom for a comparison of the specified types on this target.

Parameters

NameDescription
CCCompare constant or calling convention.
VTValue type being queried or transformed.