[llvm] [NewPM][CodeGen] add TargetPassConfig like API (PR #70906)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 21 10:02:26 PST 2023
================
@@ -525,18 +631,21 @@ void CodeGenPassBuilder<Derived>::registerModuleAnalyses(
ModuleAnalysisManager &MAM) const {
#define MODULE_ANALYSIS(NAME, PASS_NAME, CONSTRUCTOR) \
MAM.registerPass([&] { return PASS_NAME CONSTRUCTOR; });
-#include "MachinePassRegistry.def"
+#include "llvm/CodeGen/MachinePassRegistry.def"
derived().registerTargetAnalysis(MAM);
+ if (Opt.RequiresCodeGenSCCOrder)
----------------
aeubanks wrote:
let's drop this for now since we don't even support it right now, and I'd like to move off of `CallGraphAnalysis` and switch everything to use `LazyCallGraph`
https://github.com/llvm/llvm-project/pull/70906
More information about the llvm-commits
mailing list