[PATCH] D78204: [AArch64][SVE] Remove LD1/ST1 dependency on llvm.masked.load/store

Kerry McLaughlin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 15 07:05:19 PDT 2020


kmclaughlin created this revision.
kmclaughlin added reviewers: sdesmalen, efriedma, cameron.mcinally, c-rhodes.
Herald added subscribers: danielkiss, psnobl, rkruppe, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: rengolin.
Herald added a project: LLVM.

The SVE masked load and store intrinsics introduced in D76688 <https://reviews.llvm.org/D76688> rely on
common llvm.masked.load/store nodes. This patch creates new ISD nodes
for LD1(S) & ST1 to remove this dependency.

Additionally, this adds support for sign & zero extending
loads and truncating stores.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78204

Files:
  llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/test/CodeGen/AArch64/sve-intrinsics-ld1.ll
  llvm/test/CodeGen/AArch64/sve-intrinsics-ldst1.ll
  llvm/test/CodeGen/AArch64/sve-intrinsics-st1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78204.257702.patch
Type: text/x-patch
Size: 61588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200415/e5c9200f/attachment-0001.bin>


More information about the cfe-commits mailing list