[llvm] [CodeGen][NewPM] Port LiveDebugVariables to NPM (PR #115468)
Christudasan Devadasan via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 2 22:21:47 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()))
----------------
cdevadas wrote:
> This should not be using dbgs - the existing uses should also be errs
Yes. @optimisan can you post a PR to change the `dbgs` to `errs` in all similar instances?
https://github.com/llvm/llvm-project/pull/115468
More information about the llvm-commits
mailing list