[PATCH] D138883: [PowerPC] find and reuse ConstantSplatVector to combine constant store into extract and store

Ting Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 7 01:00:41 PDT 2023


tingwang updated this revision to Diff 529204.
tingwang added a comment.

Minor update:
(1) Add bitwidth is multiple of check for `isSplat()` call.
(2) Reduce `MaxSearchNodes` from 4 to 3, this is the minimum setting to allow target patterns in test cases.

And ping...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138883/new/

https://reviews.llvm.org/D138883

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/lib/Target/PowerPC/PPCInstrVSX.td
  llvm/test/CodeGen/PowerPC/const-splat-array-init.ll
  llvm/test/CodeGen/PowerPC/memset-tail.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138883.529204.patch
Type: text/x-patch
Size: 49070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230607/8c2d27e9/attachment.bin>


More information about the llvm-commits mailing list