[all-commits] [llvm/llvm-project] 4cca22: [mlir][memref] Do not access erased op in `memref....

Matthias Springer via All-commits all-commits at lists.llvm.org
Sat Jul 12 07:13:35 PDT 2025


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

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

  Log Message:
  -----------
  [mlir][memref] Do not access erased op in `memref.global` lowering (#148355)

Do not access the erased `memref.global` 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