This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SME] Add an instruction mapping for SME pseudos
ClosedPublic

Authored by kmclaughlin on Oct 27 2022, 9:21 AM.

Details

Summary

Adds an instruction mapping to SMEInstrFormats which matches SME
pseudos with the real instructions they are transformed to.
A new flag is also added to AArch64Inst (SMEMatrixType), which is
used to indicate the base register required when emitting many
of the SME instructions.

This reduces the number of pseudos handled by the switch statement
in EmitInstrWithCustomInserter.

Diff Detail

Event Timeline

kmclaughlin created this revision.Oct 27 2022, 9:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 27 2022, 9:21 AM
kmclaughlin requested review of this revision.Oct 27 2022, 9:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 27 2022, 9:21 AM
david-arm accepted this revision.Nov 24 2022, 5:09 AM

LGTM! Nice. :)

This revision is now accepted and ready to land.Nov 24 2022, 5:09 AM
This revision was landed with ongoing or failed builds.Jan 16 2023, 3:53 AM
This revision was automatically updated to reflect the committed changes.