llvm-project
54a1e2d5 - [mlir] Remove redundant DCE worklist visited set (NFC) (#195662)

Commit
29 days ago
[mlir] Remove redundant DCE worklist visited set (NFC) (#195662) The eliminateTriviallyDeadOps worklist only enqueues operations after checking that they are trivially dead. Dropping an operand before testing the defining operation means a propagated enqueue happens only when that defining operation has no remaining users. During the simplification in #194041 I didn't simplify it far enough to actually entirely remove the visited set, even though it isn't useful to the algorithm right now. Assisted-by: Codex
Author
Parents
Loading