[PATCH] D104471: [llvm][sve] Lowering for VLS truncating stores

David Truby via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 17 09:58:09 PDT 2021


DavidTruby created this revision.
Herald added subscribers: ecnelises, psnobl, hiraditya, tschuett.
Herald added a reviewer: efriedma.
DavidTruby requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This adds custom lowering for truncating stores when operating on
fixed length vectors in SVE. It also includes a DAG combine to
fold extends followed by truncating stores into non-truncating
stores in order to prevent this pattern appearing once truncating
stores are supported.

Currently truncating stores are not used in certain cases where
the size of the vector is larger than the target vector width.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104471

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-fixed-length-trunc-stores.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104471.352774.patch
Type: text/x-patch
Size: 14977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210617/69b8a0b5/attachment.bin>


More information about the llvm-commits mailing list