From 3ace18d5c08d0bb2c74c77562ee488c9e5049737 Mon Sep 17 00:00:00 2001 From: Akshat Oke Date: Mon, 20 Jan 2025 16:56:46 +0530 Subject: [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. --- llvm/lib/CodeGen/CodeGen.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/CodeGen/CodeGen.cpp') diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp index 8efe540..925d9af7 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); -- cgit v1.1