[all-commits] [llvm/llvm-project] 647aa6: [mlir][SPIRVToLLVM] Set valid insertion point afte...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Jul 2 00:25:46 PDT 2025


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

  Changed paths:
    M mlir/lib/Conversion/SPIRVToLLVM/ConvertLaunchFuncToLLVMCalls.cpp

  Log Message:
  -----------
  [mlir][SPIRVToLLVM] Set valid insertion point after op erasure (#146551)

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