[PATCH] D62890: [DAGCombiner] Improve tryStoreMergeOfExtracts by using double sized vector type before type legalized

Ting Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 01:37:55 PDT 2022


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

Added cost function for target as suggested. The function on PPC tries to avoid some patterns that lead to TOC accesses.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62890

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/test/CodeGen/PowerPC/extract-and-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62890.449219.patch
Type: text/x-patch
Size: 68091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220802/80e91867/attachment-0001.bin>


More information about the llvm-commits mailing list