[PATCH] D117104: [DAGCombine] Refactor DAGCombiner::ReduceLoadWidth. NFCI

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 12 05:24:45 PST 2022


bjope created this revision.
bjope added a reviewer: spatel.
Herald added subscribers: ecnelises, steven.zhang, hiraditya.
bjope requested review of this revision.
Herald added a project: LLVM.

Update code comments in DAGCombiner::ReduceLoadWidth and refactor
the handling of SRL a bit. The refactoring is done with the intent
of adding support for folding away SRA by using SEXTLOAD in a
follow-up patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117104

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117104.399293.patch
Type: text/x-patch
Size: 9601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220112/b3699907/attachment.bin>


More information about the llvm-commits mailing list