[Mlir-commits] [mlir] [MLIR] Add logging/tracing to DataFlow analysis and RemoveDeadValues (NFC) (PR #144695)

Mehdi Amini llvmlistbot at llvm.org
Fri Jun 20 04:41:01 PDT 2025


================
@@ -77,28 +80,46 @@ ChangeResult Liveness::meet(const AbstractSparseLattice &other) {
 LogicalResult
 LivenessAnalysis::visitOperation(Operation *op, ArrayRef<Liveness *> operands,
                                  ArrayRef<const Liveness *> results) {
+  LLVM_DEBUG(llvm::dbgs() << "LNA: Visiting operation: " << *op << "\n");
----------------
joker-eph wrote:

There is a `  --mlir-print-skip-regions   ` option to set a default.
I updated this debug output to skip the region though.

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


More information about the Mlir-commits mailing list