[all-commits] [llvm/llvm-project] 9f237c: [DAGCombine] Refactor DAGCombiner::ReduceLoadWidth...
Björn Pettersson via All-commits
all-commits at lists.llvm.org
Sun Jan 16 11:25:18 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f237c9e7d88033bd777494dcc06fa5b74ee4fec
https://github.com/llvm/llvm-project/commit/9f237c9e7d88033bd777494dcc06fa5b74ee4fec
Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2022-01-16 (Sun, 16 Jan 2022)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAGCombine] Refactor DAGCombiner::ReduceLoadWidth. NFCI
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.
The function is also renamed as DAGCombiner::reduceLoadWidth.
Differential Revision: https://reviews.llvm.org/D117104
More information about the All-commits
mailing list