[llvm] 7be1dc0 - [PassRegistry] Add complex deinterleaving pass to PassRegistry.def (#112874)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 05:08:28 PDT 2024
Author: Nicholas Guy
Date: 2024-10-18T13:08:24+01:00
New Revision: 7be1dc0f32f43331c049725e0e2b902e74115779
URL: https://github.com/llvm/llvm-project/commit/7be1dc0f32f43331c049725e0e2b902e74115779
DIFF: https://github.com/llvm/llvm-project/commit/7be1dc0f32f43331c049725e0e2b902e74115779.diff
LOG: [PassRegistry] Add complex deinterleaving pass to PassRegistry.def (#112874)
Allow for the complex deinterleaving pass to be invoked via `opt
--passes=complex-deinterleaving`
Added:
Modified:
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
Removed:
################################################################################
diff --git a/llvm/lib/Passes/PassBuilder.cpp b/llvm/lib/Passes/PassBuilder.cpp
index ebad3507eb5e29..60ab33bee704c1 100644
--- a/llvm/lib/Passes/PassBuilder.cpp
+++ b/llvm/lib/Passes/PassBuilder.cpp
@@ -80,6 +80,7 @@
#include "llvm/CodeGen/BasicBlockSectionsProfileReader.h"
#include "llvm/CodeGen/CallBrPrepare.h"
#include "llvm/CodeGen/CodeGenPrepare.h"
+#include "llvm/CodeGen/ComplexDeinterleavingPass.h"
#include "llvm/CodeGen/DeadMachineInstructionElim.h"
#include "llvm/CodeGen/DwarfEHPrepare.h"
#include "llvm/CodeGen/EarlyIfConversion.h"
diff --git a/llvm/lib/Passes/PassRegistry.def b/llvm/lib/Passes/PassRegistry.def
index 90859c18c4f499..549c1359b5852c 100644
--- a/llvm/lib/Passes/PassRegistry.def
+++ b/llvm/lib/Passes/PassRegistry.def
@@ -339,6 +339,7 @@ FUNCTION_PASS("callbr-prepare", CallBrPreparePass())
FUNCTION_PASS("callsite-splitting", CallSiteSplittingPass())
FUNCTION_PASS("chr", ControlHeightReductionPass())
FUNCTION_PASS("codegenprepare", CodeGenPreparePass(TM))
+FUNCTION_PASS("complex-deinterleaving", ComplexDeinterleavingPass(TM))
FUNCTION_PASS("consthoist", ConstantHoistingPass())
FUNCTION_PASS("constraint-elimination", ConstraintEliminationPass())
FUNCTION_PASS("coro-elide", CoroElidePass())
More information about the llvm-commits
mailing list