William Moses 3bd59634d2
[MLIR][SCF] Speed up ConditionPropagation (#166080)
Introduce a cache to avoid looking up then/else region nesting through
`isAncestor` calls repeatedly. This gets expensive for large inputs with
lots of pointer chasing.

Fixes https://github.com/llvm/llvm-project/issues/166039
2025-11-03 15:57:21 +00:00
..