[PATCH] D138883: [SelectionDAG][PowerPC] Memset reuse vector element for tail store

Ting Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 01:44:20 PDT 2023


tingwang updated this revision to Diff 538961.
tingwang retitled this revision from "[PowerPC] find and reuse ConstantSplatVector to combine constant store into extract and store" to "[SelectionDAG][PowerPC] Memset reuse vector element for tail store".
tingwang added a comment.

Return to the initial proposal after exploring different approaches. Since `canCombineStoreAndExtract()` is not beneficial to PPC, created another filter for PPC.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138883

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/test/CodeGen/PowerPC/memset-tail.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138883.538961.patch
Type: text/x-patch
Size: 21824 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230711/42fe7524/attachment.bin>


More information about the llvm-commits mailing list