llvm-project
bda56023 - [mlir][SliceAnalysis] Fix stack overflow in graph regions (#139694)

Commit
88 days ago
[mlir][SliceAnalysis] Fix stack overflow in graph regions (#139694) This analysis currently just crashes when applied to a graph region that has a use-def cycle. This PR fixes that by keeping track of the operations the DFS has already visited when following use-def edges and stopping once we visit an operation again.
Author
Parents
Loading