[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
Thu Mar 2 00:39:16 PST 2023


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

(1) Update element type `ElemTy` which now matches the type expected by both STFIWX and STXSIX PPCISD nodes.
(2) Add missing match pattern for PPCstxsix.


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.501775.patch
Type: text/x-patch
Size: 48488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230302/e806d58a/attachment.bin>


More information about the llvm-commits mailing list