Issue 144477
Summary [DAG] Add SDPatternMatch m_SpecificScalarVT / m_SpecificVectorElementVT matchers
Labels good first issue, llvm:SelectionDAG
Assignees
Reporter RKSimon
    We already have m_SpecificVT(EVT) which matches a specific requested value type, these helpers would be similar but would match the scalar/vector element component type:

- [ ] Add SDPatternMatch::m_SpecificScalarVT matcher to match a source SDValue getScalarType result (i.e. either a scalar type or vector element element type)
- [ ] Add SDPattcrnMatch::m_SpecificVectorElementVT matcher to check a source SDValue type is a vector and match its getVectorElementType result
- [ ] Unit test coverage in SelectionDAGPatternMatchTest.cpp
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to