Issue 146871
Summary [DAG] SDPatternMatch m_Zero/m_One/m_AllOnes have inconsistent undef handling
Labels good first issue, llvm:SelectionDAG
Assignees
Reporter RKSimon
    m_Zero/m_One uses ISD::isConstantSplatVector which allows undefs in the BUILD_VECTOR node by default
m_AllOnes uses isAllOnesOrAllOnesSplat which doesn't allow undefs in the BUILD_VECTOR node by default

All of these need to be consistent with their default and with/without undefs handling to be configurable

This needs to be handled in conjunction with #140745 which will revise m_Zero handling to be closed to m_AllOnes 
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to