[llvm] 3ace18d - [CodeGen] MachineFunctionSplitter: Add missing initializer (#123564)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 03:26:49 PST 2025
Author: Akshat Oke
Date: 2025-01-20T16:56:46+05:30
New Revision: 3ace18d5c08d0bb2c74c77562ee488c9e5049737
URL: https://github.com/llvm/llvm-project/commit/3ace18d5c08d0bb2c74c77562ee488c9e5049737
DIFF: https://github.com/llvm/llvm-project/commit/3ace18d5c08d0bb2c74c77562ee488c9e5049737.diff
LOG: [CodeGen] MachineFunctionSplitter: Add missing initializer (#123564)
This registers the pass with PassRegistry so we can use -start-before
and other options for machine-function-splitter.
Added:
Modified:
llvm/lib/CodeGen/CodeGen.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index 8efe540770913a..925d9af7d0e06d 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -82,6 +82,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeMachineCycleInfoWrapperPassPass(Registry);
initializeMachineDominatorTreeWrapperPassPass(Registry);
initializeMachineFunctionPrinterPassPass(Registry);
+ initializeMachineFunctionSplitterPass(Registry);
initializeMachineLateInstrsCleanupPass(Registry);
initializeMachineLICMPass(Registry);
initializeMachineLoopInfoWrapperPassPass(Registry);
More information about the llvm-commits
mailing list