[PATCH] D66295: [ARM] Sink add/mul(shufflevector(insertelement(...), ...), ...) for MVE instruction selection

Sam Tebbs via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 08:15:14 PDT 2019


samtebbs created this revision.
samtebbs added reviewers: samparker, dmgreen, SjoerdMeijer, t.p.northover, olista01, simon_tatham.
Herald added subscribers: hiraditya, kristof.beyls, javed.absar.
Herald added a project: LLVM.

This patch sinks add/mul(shufflevector(insertelement(...), ...), ...) into the basic block in which they are used so that they can then be selected together. This is useful for various MVE instructions, such as vmla and others that take R registers.


https://reviews.llvm.org/D66295

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/Transforms/CodeGenPrepare/ARM/sink-add-mul-shufflevector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66295.215402.patch
Type: text/x-patch
Size: 6148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190815/27ff2c0c/attachment.bin>


More information about the llvm-commits mailing list