[PATCH] D80260: [WIP][SVE] Prototype for general merging MOVPRFX support.

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 19 17:39:05 PDT 2020


cameron.mcinally created this revision.
cameron.mcinally added reviewers: sdesmalen, paulwalker-arm, kmclaughlin, c-rhodes.
Herald added subscribers: llvm-commits, psnobl, rkruppe, hiraditya, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: LLVM.

This is a prototype for general merging MOVPRFX support. It ties the pseudo's destination register to the passthru register, which seems to work for simple test cases.***

The intention is to use this general merging mechanism to also handle the zero merging case, but that would take some more cleanup work to get there.

***From an offline discussion with Sander, this implementation has limitations that I have not hit yet. Posting this patch to start a discussion.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80260

Files:
  llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
  llvm/lib/Target/AArch64/AArch64InstrFormats.td
  llvm/lib/Target/AArch64/AArch64InstrInfo.h
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve-intrinsics-int-arith-merging.ll
  llvm/test/CodeGen/AArch64/sve-intrinsics-shifts-merging.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80260.265089.patch
Type: text/x-patch
Size: 26295 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200520/d30f354e/attachment.bin>


More information about the llvm-commits mailing list