[all-commits] [llvm/llvm-project] 54a1e2: [mlir] Remove redundant DCE worklist visited set (...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Mon May 4 08:37:01 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 54a1e2d5a588ecc20eeb5f326ba24d062cbd7eac
https://github.com/llvm/llvm-project/commit/54a1e2d5a588ecc20eeb5f326ba24d062cbd7eac
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M mlir/lib/Transforms/Utils/RegionUtils.cpp
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list