[Mlir-commits] [mlir] [MLIR] Prevent invalid IR from being passed outside of RemoveDeadValues (PR #121079)
Renat Idrisov
llvmlistbot at llvm.org
Thu Jan 2 10:33:02 PST 2025
================
@@ -115,6 +152,18 @@ static BitVector markLives(ValueRange values, RunLivenessAnalysis &la) {
return lives;
}
+/// Collects values marked as "non-live" in the provided range and inserts them
+/// into the given set. A value is considered "non-live" if the corresponding
+/// index in the `nonLive` bit vector is set.
----------------
parsifal-47 wrote:
Sure, I have renamed it to `nonLiveVals` everywhere and changed the comment, there was no good reason to keep deletionSet initially, thank you!
https://github.com/llvm/llvm-project/pull/121079
More information about the Mlir-commits
mailing list