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

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Jul 3 07:38:28 PDT 2025


  Branch: refs/heads/users/matthias-springer/tosa_ip
  Home:   https://github.com/llvm/llvm-project
  Commit: 743b3a8737e3fe83cb6e8fd9757ebc57059357c2
      https://github.com/llvm/llvm-project/commit/743b3a8737e3fe83cb6e8fd9757ebc57059357c2
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

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

  Log Message:
  -----------
  [mlir][TosaToLinalg] Ensure valid insertion pointer after op erasure

Erasing/replacing an op, which is also the current insertion point, invalidates the insertion point. Explicitly set the insertion point, so that copy does 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