[all-commits] [llvm/llvm-project] e79e05: [mlir][CSE] Remove the opsToErase container and im...
lonely eagle via All-commits
all-commits at lists.llvm.org
Sun Jun 14 18:36:22 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e79e056ee982450ee75477d1b315b2f747d7790c
https://github.com/llvm/llvm-project/commit/e79e056ee982450ee75477d1b315b2f747d7790c
Author: lonely eagle <2020382038 at qq.com>
Date: 2026-06-15 (Mon, 15 Jun 2026)
Changed paths:
M mlir/lib/Transforms/Utils/CSE.cpp
Log Message:
-----------
[mlir][CSE] Remove the opsToErase container and immediately delete dead ops. (#203702)
This PR removes the `opsToErase` container and immediately erases dead
operations. Since dead ops are deleted on the fly, the value in the
`MemEffectsCache` map now correctly tracks the previous operation of
`toOp`. This change improves the storage efficiency of CSE. Furthermore,
it is part of https://github.com/llvm/llvm-project/pull/180556 and
substantially simplifies the implementation.
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