[PATCH] D72919: [AArch64] Add custom store lowering for 256 bit non-temporal stores.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 06:30:36 PST 2020


fhahn created this revision.
fhahn added reviewers: dmgreen, samparker, t.p.northover, ab.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.

Currently we fail to lower non-termporal stores for 256+ bit vectors
to STNPQ, because type legalization will split them up to 128 bit stores
and because there are no single non-temporal stores, creating STPNQ
in the Load/Store optimizer would be quite tricky.

This patch adds custom lowering for 256 bit non-temporal vector stores
to improve the generated code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72919

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/nontemporal.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72919.238761.patch
Type: text/x-patch
Size: 9677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200117/b65057e7/attachment.bin>


More information about the llvm-commits mailing list