[PATCH] D33404: [PowerPC] Fix a performance bug for PPC::XXPERMDI.

Tony Jiang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 22 04:34:25 PDT 2017


jtony created this revision.

There are some VectorShuffle Nodes in SDAG which can be selected to XXPERMDI Instruction, this patch recognizes them and does the selection to improve the PPC performance.


https://reviews.llvm.org/D33404

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.h
  lib/Target/PowerPC/PPCInstrInfo.td
  lib/Target/PowerPC/PPCInstrVSX.td
  test/CodeGen/PowerPC/vec_xxpermdi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33404.99739.patch
Type: text/x-patch
Size: 18250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170522/5e75c120/attachment.bin>


More information about the llvm-commits mailing list