[PATCH] D73711: [AArch64][SVE] Add support for DestructiveBinary and DestructiveBinaryComm DestructiveInstTypes

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 07:45:42 PST 2020


cameron.mcinally created this revision.
cameron.mcinally added reviewers: sdesmalen, kmclaughlin, dancgr, rengolin, efriedma, huntergr.
Herald added subscribers: llvm-commits, psnobl, rkruppe, hiraditya, kristof.beyls, tschuett.
Herald added a project: LLVM.

This is the third patch in a collection to support prefixing destructive operations, with the MOVPRFX instruction, to build constructive operations. The previous patch is D73212 <https://reviews.llvm.org/D73212>.

Here we add support for DestructiveBinary and DestructiveBinaryComm DestructiveInstTypes, as well as the lowering code to expand the new Pseudos into the final movprfx+instruction pairs.

This patch comes mostly from D71712 <https://reviews.llvm.org/D71712>, with some modifications to `SelectDupZero(...)` in `AArch64ISelDAGToDAG.cpp`. IINM, the `SelectDupZero(...)` difference works around a separate feature (not upstreamed yet) to make use of `SPLAT_VECTOR` for zero vectors.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73711

Files:
  llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
  llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  llvm/lib/Target/AArch64/AArch64InstrFormats.td
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.h
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/O0-pipeline.ll
  llvm/test/CodeGen/AArch64/O3-pipeline.ll
  llvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith-merging.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73711.241450.patch
Type: text/x-patch
Size: 44308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200130/a584b783/attachment.bin>


More information about the llvm-commits mailing list