[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 Nov 29 05:14:44 PST 2022


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

Update according to comments:
(1) Use existing `canCombineStoreAndExtract()` instead of creating new.
(2) Nest the else statement properly.
(3) Saw two cases changed due to (1).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138883

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/test/CodeGen/ARM/memset-align.ll
  llvm/test/CodeGen/PowerPC/memset-tail.ll
  llvm/test/CodeGen/PowerPC/p10-fi-elim.ll

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


More information about the llvm-commits mailing list