diff options
author | Akshat Oke <Akshat.Oke@amd.com> | 2025-01-20 16:56:46 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-20 16:56:46 +0530 |
commit | 3ace18d5c08d0bb2c74c77562ee488c9e5049737 (patch) | |
tree | 1956ccf2a47532839e758d620c6a5f74af6c27e8 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 8b7bfb417a220822ddd8231e58dcd785d8d96aed (diff) | |
download | llvm-3ace18d5c08d0bb2c74c77562ee488c9e5049737.zip llvm-3ace18d5c08d0bb2c74c77562ee488c9e5049737.tar.gz llvm-3ace18d5c08d0bb2c74c77562ee488c9e5049737.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |