[all-commits] [llvm/llvm-project] c80fa2: [DAG] SDPatternMatch m_Zero/m_One/m_AllOnes have i...

woruyu via All-commits all-commits at lists.llvm.org
Mon Jul 7 07:05:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c80fa2364beeca4ad75125afa29de3e20b63fbd3
      https://github.com/llvm/llvm-project/commit/c80fa2364beeca4ad75125afa29de3e20b63fbd3
  Author: woruyu <99597449+woruyu at users.noreply.github.com>
  Date:   2025-07-07 (Mon, 07 Jul 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/SDPatternMatch.h
    M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp

  Log Message:
  -----------
  [DAG] SDPatternMatch m_Zero/m_One/m_AllOnes have inconsistent undef h… (#147044)

### Summary
This PR resolves https://github.com/llvm/llvm-project/issues/146871 
This PR resolves https://github.com/llvm/llvm-project/issues/140745

Refactor m_Zero/m_One/m_AllOnes all use struct template function to
match and AllowUndefs=false as default.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list