[PATCH] D117764: [AArch64][SelectionDAG] CodeGen for Armv8.8/9.3 MOPS

Son Tuan Vu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 20 02:30:28 PST 2022


tyb0807 created this revision.
Herald added subscribers: ecnelises, hiraditya, kristof.beyls.
tyb0807 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

New target SDNodes are added: AArch64ISD::MOPS_MEMSET, etc.
Each intrinsic is translated to one of these in SelectionDAGBuilder
via EmitTargetCodeForMOPS.

A custom lowering routine for INTRINSIC_W_CHAIN is added to handle
llvm.aarch64.mops.memset.tag. This takes a separate path from the common
intrinsics but ultimately ends up in the same EmitMOPS().

This is part 4/4 of a series of patches split from
https://reviews.llvm.org/D117405 to facilitate reviewing.

Patch by Tomas Matheson, Lucas Prates and Son Tuan Vu.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117764

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
  llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.h
  llvm/test/CodeGen/AArch64/aarch64-mops-consecutive.ll
  llvm/test/CodeGen/AArch64/aarch64-mops-mte.ll
  llvm/test/CodeGen/AArch64/aarch64-mops.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117764.401570.patch
Type: text/x-patch
Size: 55966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220120/fe818fa1/attachment.bin>


More information about the llvm-commits mailing list