[llvm] [NewPM][CodeGen] add TargetPassConfig like API (PR #70906)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 21 17:47:27 PST 2023
================
@@ -122,6 +131,30 @@ template <typename DerivedT> class CodeGenPassBuilder {
raw_pwrite_stream &Out, raw_pwrite_stream *DwoOut,
CodeGenFileType FileType) const;
+ bool parseTargetMIRPass(MachineFunctionPassManager &MFPM,
+ StringRef Name) const {
+ llvm_unreachable("parseTargetMIRPass is not overridden");
----------------
paperchalice wrote:
`CodeGenPassBuilder` is a CRTP based class, just delete it or an implementation that always return `true` would be better?
https://github.com/llvm/llvm-project/pull/70906
More information about the llvm-commits
mailing list