[all-commits] [llvm/llvm-project] 96d57d: [mlir][cf] Do not access erased operation in `cf.c...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Sat Jul 12 07:16:15 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96d57dea0326acb5a529d2a5aff0f3117bbe8dbc
https://github.com/llvm/llvm-project/commit/96d57dea0326acb5a529d2a5aff0f3117bbe8dbc
Author: Matthias Springer <me at m-sp.org>
Date: 2025-07-12 (Sat, 12 Jul 2025)
Changed paths:
M mlir/lib/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.cpp
Log Message:
-----------
[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 at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list