LLVM 22.0.0git
llvm::ISD::GlobalISel Namespace Reference

Functions

LLVM_ABI CondCode getSetCCInverse (CondCode Operation, bool isIntegerLike)
 Return the operation corresponding to !(X op Y), where 'op' is a valid SetCC operation.

Function Documentation

◆ getSetCCInverse()

ISD::CondCode llvm::ISD::GlobalISel::getSetCCInverse ( ISD::CondCode Op,
bool isIntegerLike )

Return the operation corresponding to !(X op Y), where 'op' is a valid SetCC operation.

The U bit of the condition code has different meanings between floating point and integer comparisons and LLT's don't provide this distinction. As such we need to be told whether the comparison is floating point or integer-like. Pointers should use integer-like comparisons.

Definition at line 632 of file SelectionDAG.cpp.

References getSetCCInverseImpl().