Skip to content

[DAG] SDPatternMatch - add m_ExtractSubVector / m_InsertSubVector matchers #118846

Closed
@RKSimon

Description

@RKSimon

Add SDPatternMatch matchers and unit test coverage for ISD::EXTRACT_SUBVECTOR and ISD::INSERT_SUBVECTOR opcodes

e.g.

m_ExtractSubVector(m_Value(), m_ConstInt())
m_ExtractSubVector(m_Value(), m_SpecificInt())
m_InsertSubVector(m_Value(), m_Value(), m_ConstInt())
m_InsertSubVector(m_Value(), m_Value(), m_SpecificInt())

Metadata

Metadata

Assignees

Labels

good first issuehttps://github.com/llvm/llvm-project/contributellvm:SelectionDAGSelectionDAGISel as well

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions