Issue 143363
Summary [DAG] Convert foldMaskedMerge to SDPatternMatch to match (m & x) | (~m & y)
Labels good first issue, llvm:SelectionDAG
Assignees
Reporter RKSimon
    Now that foldMaskedMerge has been moved to DAGCombine in #137641, it can be refactored to use SDPatternMatch matchers.

This should allow us to remove foldMaskedMergeImpl entirely and not match all the commutation permutations separately but rely on the commutative SDPatternMatch m_Or/m_And/m_Not/m_Deferred matchers to find the pattern.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to