llvm-project
96d57dea - [mlir][cf] Do not access erased operation in `cf.cond_br` lowering (#148358)

Commit
81 days ago
[mlir][cf] Do not access erased operation in `cf.cond_br` lowering (#148358) Do not access the erased `cf.cond_br` 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`. --------- Co-authored-by: Markus Böck <markus.boeck02@gmail.com>
Parents
Loading