[PATCH] D149855: [DAGCombiner] Avoid template for generalized pattern match.
Yeting Kuo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 4 08:08:52 PDT 2023
fakepaper56 created this revision.
fakepaper56 added reviewers: craig.topper, reames, frasercrmck, rogfer01, luke, simoll, RKSimon.
Herald added subscribers: ecnelises, steven.zhang, hiraditya.
Herald added a project: All.
fakepaper56 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
D141891 <https://reviews.llvm.org/D141891> introduced an approach to make functions to serve non-vp nodes and vp
nodes. The old patch used template to make functions have different MatchContext
classes. There is a concern that using template for many functions in
DAGCombiner.cpp may make the binary too large.
The patch replaces template by selecting corresponding MatchContext class in
runtime.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149855
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149855.519503.patch
Type: text/x-patch
Size: 31388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230504/13e0ba6c/attachment-0001.bin>
More information about the llvm-commits
mailing list