[all-commits] [llvm/llvm-project] 47b5ad: [mlir][CSE] Fix dominanceInfo analysis preservatio...
lonely eagle via All-commits
all-commits at lists.llvm.org
Wed Apr 15 18:36:13 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 47b5ad2bdb1a8ea0840fb671ae57c128292eb34c
https://github.com/llvm/llvm-project/commit/47b5ad2bdb1a8ea0840fb671ae57c128292eb34c
Author: lonely eagle <2020382038 at qq.com>
Date: 2026-04-16 (Thu, 16 Apr 2026)
Changed paths:
M mlir/lib/Transforms/CSE.cpp
Log Message:
-----------
[mlir][CSE] Fix dominanceInfo analysis preservation (#192279)
The CSE pass calls `markAnalysesPreserved<DominanceInfo,
PostDominanceInfo>()` at the end. While CSE erases operations, it does
not remove their corresponding dominator trees, causing them to be
unnecessarily preserved in memory. This PR addresses the issue by
explicitly calling invalidate within CSE to clean up the dominator trees
for those erased operations.
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