[PATCH] D118549: apply two more cases for store combine

Baoshan Pang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 29 18:57:56 PST 2022


BaoshanPang created this revision.
Herald added subscribers: luke957, frasercrmck, ecnelises, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
BaoshanPang requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, MaskRay.
Herald added a project: LLVM.

1. handle the case with extra shift
2. use two short(16-bits) store for 4 byte store when one word store is not allowed


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118549

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/RISCV/store-combine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118549.404321.patch
Type: text/x-patch
Size: 8565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220130/480789af/attachment-0001.bin>


More information about the llvm-commits mailing list