[Mlir-commits] [mlir] [MLIR][RemoveDeadValues] Mark arguments of a public function Live (PR #162038)

Mehdi Amini llvmlistbot at llvm.org
Mon Oct 6 06:56:34 PDT 2025


================
@@ -154,7 +161,9 @@ static BitVector markLives(ValueRange values, const DenseSet<Value> &nonLiveSet,
              << " is already marked non-live (dead) at index " << index;
       continue;
     }
-
+    if (liveSet.contains(value)) {
+      continue;
+    }
----------------
joker-eph wrote:

```suggestion

      LDBG() << "Value " << value
             << " is already marked live at index " << index;
      continue;
    }
```

Should we align the logging with above?
(otherwise remove the braces)

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


More information about the Mlir-commits mailing list