llvm::TargetLoweringBase::isCondCodeLegal

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

Synopsis

Declared in <llvm/CodeGen/TargetLowering.h>

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

Return Value

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

Parameters

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