[llvm] [NewPM][CodeGen] add TargetPassConfig like API (PR #70906)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 1 01:47:32 PDT 2023
================
@@ -122,6 +129,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");
+ }
+
+ bool parseMIRPass(MachineFunctionPassManager &MFPM, StringRef Name) const;
+
+ /// Parse MIR pass pipeline. Unlike IR pass pipeline
+ /// there is only one pass manager for machine function
+ /// so there is no need to specify the passs nesting
----------------
arsenm wrote:
Typo passs
https://github.com/llvm/llvm-project/pull/70906
More information about the llvm-commits
mailing list