[Mlir-commits] [mlir] [MLIR] Prevent invalid IR from being passed outside of RemoveDeadValues (PR #121079)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon Dec 30 14:23:09 PST 2024


================
@@ -115,6 +157,21 @@ static BitVector markLives(ValueRange values, RunLivenessAnalysis &la) {
   return lives;
 }
 
+// DeletionSet is used to track the Values that are scheduled for removal
+void updateDeletionSet(DenseSet<Value> &deletionSet, ValueRange range,
----------------
banach-space wrote:

```suggestion
static void updateDeletionSet(DenseSet<Value> &deletionSet, ValueRange range,
```

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


More information about the Mlir-commits mailing list