Issue 165378
Summary [DAG] SDPatternMatch - add generic m_TernaryOp() / m_c_TernaryOp() matchers
Labels good first issue, llvm:SelectionDAG
Assignees
Reporter RKSimon
    Similar to m_BinOp / m_c_BinOp - to allow us to match a fixed opcode with 3 operands (fma ops etc.).

This mainly involves adding a generic wrapper for the TernaryOpc_match template along with suitable test coverage in SelectionDAGPatternMatchTest.cpp  - there might be some simple combines in DAGCombiner.cpp that can be converted as well.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to