[all-commits] [llvm/llvm-project] cccde9: [mlir][SCF] Do not access erased operation in `scf...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sat Jul 26 02:07:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cccde9b2b1aa05f2797b29cba209c7642b7ac0f6
      https://github.com/llvm/llvm-project/commit/cccde9b2b1aa05f2797b29cba209c7642b7ac0f6
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-07-26 (Sat, 26 Jul 2025)

  Changed paths:
    M mlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp

  Log Message:
  -----------
  [mlir][SCF] Do not access erased operation in `scf.while` lowering (#150741)

Do not access the erased `scf.while` 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`.



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