[PATCH] D34160: [Power9] Exploit vinserth instruction

Graham Yiu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 13 12:51:41 PDT 2017


gyiu created this revision.

This patch adds code to PPC ISEL lowering to recognize half-word inserts from vector_shuffles, and use https://reviews.llvm.org/P9 shift and vector insert instructions instead of vperm.


Repository:
  rL LLVM

https://reviews.llvm.org/D34160

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.h
  lib/Target/PowerPC/PPCInstrAltivec.td
  lib/Target/PowerPC/PPCInstrInfo.td
  lib/Target/PowerPC/PPCInstrVSX.td
  test/CodeGen/PowerPC/p9-vinsert-vextract.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34160.102384.patch
Type: text/x-patch
Size: 23280 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170613/9fcfb9f9/attachment.bin>


More information about the llvm-commits mailing list