[llvm] [CodeGen] Port mir-check-debugify to new pass manager (PR #199280)

via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 28 08:42:54 PDT 2026


================
@@ -114,15 +123,27 @@ struct CheckDebugMachineModule : public ModulePass {
 
   static char ID; // Pass identification.
 };
-char CheckDebugMachineModule::ID = 0;
+char CheckDebugMachineModuleLegacy::ID = 0;
 
 } // end anonymous namespace
 
-INITIALIZE_PASS_BEGIN(CheckDebugMachineModule, DEBUG_TYPE,
+INITIALIZE_PASS_BEGIN(CheckDebugMachineModuleLegacy, DEBUG_TYPE,
                       "Machine Check Debug Module", false, false)
-INITIALIZE_PASS_END(CheckDebugMachineModule, DEBUG_TYPE,
+INITIALIZE_PASS_END(CheckDebugMachineModuleLegacy, DEBUG_TYPE,
                     "Machine Check Debug Module", false, false)
 
 ModulePass *llvm::createCheckDebugMachineModulePass() {
----------------
juanvazquez wrote:

ah! thanks! I've renamed it.

https://github.com/llvm/llvm-project/pull/199280


More information about the llvm-commits mailing list