Issue 174328
Summary [DAG] SDPatternMatch - extend MinMax matchers to detect flippable signed/unsigned cases
Labels good first issue, llvm:SelectionDAG
Assignees
Reporter RKSimon
    Follow up to #174327

The m_SMaxLike/m_SMinLike/m_UMaxLike/m_UMinLike matchers can be extended to match the unsigned/signed equivalents if the operand signbits are known to be both zero or one.

You will have to investigate the best approach, but this is can probably best be achieved by using the m_Negative/m_StrictlyPositive/m_NonNegative/m_NonPositive matchers proposed from #174327, extending the MinMaxLike matchers with additional patterns that include them.

Related to #174325
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to