[all-commits] [llvm/llvm-project] b293c8: [mlir][TosaToLinalg] Ensure valid insertion pointe...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Jul 11 04:46:47 PDT 2025


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

  Changed paths:
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp

  Log Message:
  -----------
  [mlir][TosaToLinalg] Ensure valid insertion pointer after op erasure (#146908)

Erasing/replacing an op, which is also the current insertion point,
invalidates the insertion point. Explicitly set the insertion point, so
that subsequent op insertions do not crash after the One-Shot Dialect
Conversion refactoring. (`ConversionPatternRewriter` will start behaving
more like a "normal" rewriter.)



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