[Mlir-commits] [mlir] [mlir][dataflow] Fix the LDBG print content of liveness-analysis (PR #176542)
lonely eagle
llvmlistbot at llvm.org
Sat Jan 17 00:33:24 PST 2026
https://github.com/linuxlonelyeagle created https://github.com/llvm/llvm-project/pull/176542
None
>From 0168eada74c8436cc3ce8c5126d79f6e621e626b Mon Sep 17 00:00:00 2001
From: linuxlonelyeagle <2020382038 at qq.com>
Date: Sat, 17 Jan 2026 08:32:16 +0000
Subject: [PATCH] fix the LDBG print content of liveness-analysis.
---
mlir/lib/Analysis/DataFlow/LivenessAnalysis.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mlir/lib/Analysis/DataFlow/LivenessAnalysis.cpp b/mlir/lib/Analysis/DataFlow/LivenessAnalysis.cpp
index 11fcc2a4d00d7..4afc35d23fafa 100644
--- a/mlir/lib/Analysis/DataFlow/LivenessAnalysis.cpp
+++ b/mlir/lib/Analysis/DataFlow/LivenessAnalysis.cpp
@@ -174,8 +174,8 @@ void LivenessAnalysis::visitCallOperand(OpOperand &operand) {
void LivenessAnalysis::visitNonControlFlowArguments(
RegionSuccessor &successor, ArrayRef<BlockArgument> arguments) {
Operation *parentOp = successor.getSuccessor()->getParentOp();
- LDBG() << "visitNonControlFlowArguments visit the region # "
- << successor.getSuccessor()->getRegionNumber() << "of "
+ LDBG() << "visitNonControlFlowArguments visit the region: #"
+ << successor.getSuccessor()->getRegionNumber() << " of "
<< OpWithFlags(parentOp, OpPrintingFlags().skipRegions());
auto valuesToLattices = [&](Value value) { return getLatticeElement(value); };
SmallVector<Liveness *> argumentLattices =
More information about the Mlir-commits
mailing list