LLVM 20.0.0git
Functions
llvm::ISD::GlobalISel Namespace Reference

Functions

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 606 of file SelectionDAG.cpp.

References getSetCCInverseImpl().