[PATCH] D128135: [DAGCombiner][ARM][RISCV] Teach ShrinkLoadReplaceStoreWithStore to use truncstore.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 19 00:30:58 PDT 2022


craig.topper created this revision.
craig.topper added reviewers: efriedma, spatel, RKSimon, reames.
Herald added subscribers: sunshaoce, VincentWu, luke957, StephenFan, vkmr, frasercrmck, ecnelises, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, kristof.beyls, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

The VT we want to shrink to may not be legal especially after type
legalization.

Fixes PR56110.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128135

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/ARM/illegal-bitfield-loadstore.ll
  llvm/test/CodeGen/RISCV/pr56110.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128135.438179.patch
Type: text/x-patch
Size: 5333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220619/0488c789/attachment.bin>


More information about the llvm-commits mailing list