Return true if both predicates match sign or if at least one of them is an equality comparison (which is signless).
Declared in <llvm/Analysis/CmpInstAnalysis.h>
bool
predicatesFoldable(
CmpInst::Predicate P1,
CmpInst::Predicate P2);
True if the predicates share a sign or either is an equality.
| Name | Description |
|---|---|
| P1 | First compare predicate. |
| P2 | Second compare predicate. |