[PATCH] D34630: [Power9] Add additional patterns to recognize and transform insertelt/extractelt to vinsert[h|b]/vextractu[h|b] instructions.

Graham Yiu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 30 07:59:05 PDT 2017


gyiu updated this revision to Diff 113263.
gyiu added a comment.

- Removed extract element patterns as changes from 'https://reviews.llvm.org/D34032' generate better code in terms of total cycles.  Also it catches more cases than the vextractu[hb] instructions, as it's only beneficial when operating on dword[1] of the vector register.


Repository:
  rL LLVM

https://reviews.llvm.org/D34630

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34630.113263.patch
Type: text/x-patch
Size: 9973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170830/41d29422/attachment.bin>


More information about the llvm-commits mailing list