[all-commits] [llvm/llvm-project] ad9977: [llvm][PassSupport] don't require passes to be def...
Nick Desaulniers via All-commits
all-commits at lists.llvm.org
Tue Dec 20 14:08:19 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ad99774a5f1b1f4466999da172f0e77006a06262
https://github.com/llvm/llvm-project/commit/ad99774a5f1b1f4466999da172f0e77006a06262
Author: Nick Desaulniers <ndesaulniers at google.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M llvm/include/llvm/PassSupport.h
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.h
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/R600.h
M llvm/lib/Target/AMDGPU/R600ISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/R600TargetMachine.cpp
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Log Message:
-----------
[llvm][PassSupport] don't require passes to be default constructible
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.
Link: https://github.com/llvm/llvm-project/issues/59538
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D140349
More information about the All-commits
mailing list