[PATCH] D27774: [ARM] Implement isExtractSubvectorCheap

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 14:01:06 PST 2016


efriedma created this revision.
efriedma added reviewers: rengolin, t.p.northover, jmolloy.
efriedma added subscribers: mkuper, llvm-commits.
efriedma set the repository for this revision to rL LLVM.
Herald added a subscriber: aemerson.

See https://reviews.llvm.org/D6678 for the history of isExtractSubvectorCheap.  Essentially the same considerations apply to ARM.

This temporarily breaks the formation of vpadd/vpaddl in certain cases; AddCombineToVPADDL essentially assumes that we won't form VUZP shuffles.  This is mostly orthogonal, though, so I'll fix it in a followup.


Repository:
  rL LLVM

https://reviews.llvm.org/D27774

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMISelLowering.h
  test/CodeGen/ARM/vext.ll
  test/CodeGen/ARM/vpadd.ll
  test/CodeGen/ARM/vuzp.ll
  test/CodeGen/ARM/vzip.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27774.81461.patch
Type: text/x-patch
Size: 9204 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161214/2158f4aa/attachment.bin>


More information about the llvm-commits mailing list