[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
----------------
banach-space wrote:
Please document what `updateDeletionSet` does rather than what `deletionSet` variable is for.
Importantly, please use descriptive function names that document what the corresponding method does. Currently, the function name encodes one of its arguments names - what if we decide to change that later?
https://github.com/llvm/llvm-project/pull/121079
More information about the Mlir-commits
mailing list