[llvm] [CodeGen][NewPM] Port LiveDebugVariables to NPM (PR #115468)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 05:20:20 PST 2024


================
@@ -146,6 +147,7 @@ MACHINE_FUNCTION_PASS("opt-phis", OptimizePHIsPass())
 MACHINE_FUNCTION_PASS("peephole-opt", PeepholeOptimizerPass())
 MACHINE_FUNCTION_PASS("phi-node-elimination", PHIEliminationPass())
 MACHINE_FUNCTION_PASS("print", PrintMIRPass())
+MACHINE_FUNCTION_PASS("print<livedebugvars>", LiveDebugVariablesPrinterPass(dbgs()))
----------------
arsenm wrote:

Can just use errs here in the first place, don't need to wait for the other PR 

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


More information about the llvm-commits mailing list