[PATCH] D136856: [AArch64][SME] Add an instruction mapping for SME pseudos

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 09:21:41 PDT 2022


kmclaughlin created this revision.
kmclaughlin added reviewers: sdesmalen, david-arm, CarolineConcatto, aemerson.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
kmclaughlin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136856

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64InstrFormats.td
  llvm/lib/Target/AArch64/AArch64InstrInfo.h
  llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
  llvm/lib/Target/AArch64/SMEInstrFormats.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136856.471187.patch
Type: text/x-patch
Size: 26912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221027/bc84421f/attachment.bin>


More information about the llvm-commits mailing list