[PATCH] D33225: [PowerPC] Fix a performance bug for PPC::XXSLDWI.

Tony Jiang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 19:05:17 PDT 2017


jtony created this revision.

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


https://reviews.llvm.org/D33225

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.h
  lib/Target/PowerPC/PPCInstrInfo.td
  lib/Target/PowerPC/PPCInstrVSX.td
  test/CodeGen/PowerPC/p8altivec-shuffles-pred.ll
  test/CodeGen/PowerPC/p9-xxinsertw-xxextractuw.ll
  test/CodeGen/PowerPC/pr27078.ll
  test/CodeGen/PowerPC/vec_sldwi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33225.99092.patch
Type: text/x-patch
Size: 31327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170516/d33ea646/attachment.bin>


More information about the llvm-commits mailing list