[PATCH] D62745: Factor out SelectionDAG's switch analysis and lowering into a separate component
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 31 12:03:52 PDT 2019
aemerson created this revision.
aemerson added reviewers: dsanders, paquette, t.p.northover, qcolombet, eli.friedman.
Herald added subscribers: mgrang, hiraditya, mgorny.
Herald added a project: LLVM.
In order for GlobalISel to re-use the significant amount of analysis and optimization code in SDAG's switch lowering, we first have to extract it and create an interface to be used by both frameworks.
No test changes as it's NFC.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D62745
Files:
llvm/include/llvm/CodeGen/SwitchLoweringUtils.h
llvm/lib/CodeGen/CMakeLists.txt
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
llvm/lib/CodeGen/SwitchLoweringUtils.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62745.202465.patch
Type: text/x-patch
Size: 71878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190531/0e9a1db5/attachment.bin>
More information about the llvm-commits
mailing list