[PATCH] D127843: [AArch64][SME] Add the zero intrinsic

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 03:23:41 PDT 2022


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

The SME zero instruction takes a mask as an input declaring which
64-bit element tiles should be zeroed. There is a 1:1 mapping
between the zero intrinsic and the instruction, however we also
want to make the register allocator aware that some tile
registers are being written to.

We can actually just use the custom inserter for a pseudo instruction
to correctly mark all the appropriate registers in the mask as
implicitly defined by the operation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127843

Files:
  llvm/include/llvm/IR/IntrinsicsAArch64.td
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/SMEInstrFormats.td
  llvm/test/CodeGen/AArch64/sme-intrinsics-zero.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127843.437102.patch
Type: text/x-patch
Size: 28852 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220615/6266fde2/attachment-0001.bin>


More information about the llvm-commits mailing list