[PATCH] D140349: [llvm][PassSupport] don't require passes to be default constructible
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 19 13:35:00 PST 2022
nickdesaulniers created this revision.
Herald added subscribers: kosarev, foad, kerbowa, pengfei, hiraditya, jvesely, arsenm, qcolombet, MatzeB.
Herald added a project: All.
nickdesaulniers requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Quite a few passes are not default constructible. In order to properly
support -{start|stop}-{before|after}= for these passes, we would like to
continue to use INITIALIZE_PASS, but not necessarily provide a default
constructor.
Delete the default constructors of classes derived from
SelectionDAGISel.
Signed-off-by: Nick Desaulniers <ndesaulniers at google.com>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D140349
Files:
llvm/include/llvm/PassSupport.h
llvm/lib/CodeGen/MachineCopyPropagation.cpp
llvm/lib/CodeGen/RegAllocEvictionAdvisor.h
llvm/lib/CodeGen/RegAllocPriorityAdvisor.h
llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140349.484058.patch
Type: text/x-patch
Size: 5678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221219/e512cb46/attachment.bin>
More information about the llvm-commits
mailing list