llvm-project
47b5ad2b - [mlir][CSE] Fix dominanceInfo analysis preservation (#192279)

Commit
4 days ago
[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.
Parents
Loading