Matthias Springer 7f7cf2743a
[mlir][SCF] Do not access erased op in scf.while lowering (#148356)
Do not access the erased `scf.condition` operation in the lowering
pattern. That won't work anymore in a One-Shot Dialect Conversion and
triggers a use-after-free sanitizer error.

After the One-Shot Dialect Conversion refactoring, a
`ConversionPatternRewriter` will behave more like a normal
`PatternRewriter`.
2025-07-12 16:14:04 +02:00
..