[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:52:05 PDT 2025
================
@@ -115,12 +118,27 @@ struct RDVFinalCleanupList {
static bool hasLive(ValueRange values, const DenseSet<Value> &nonLiveSet,
RunLivenessAnalysis &la) {
for (Value value : values) {
- if (nonLiveSet.contains(value))
+ if (nonLiveSet.contains(value)) {
+ LLVM_DEBUG(llvm::dbgs() << "RDV: Value " << value
+ << " is already marked non-live (dead)\n");
----------------
joker-eph wrote:
I adopted the pattern.
I don't think it is great thought that this is a per-file thing instead of a project-level encoded macros/pattern.
https://github.com/llvm/llvm-project/pull/144695
More information about the Mlir-commits
mailing list