[all-commits] [llvm/llvm-project] b9c979: [mlir][Transforms] Dialect conversion: Simplify `r...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Jun 23 02:06:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9c979d3698e56714db88385629a167786d07410
      https://github.com/llvm/llvm-project/commit/b9c979d3698e56714db88385629a167786d07410
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M mlir/lib/Transforms/Utils/DialectConversion.cpp

  Log Message:
  -----------
  [mlir][Transforms] Dialect conversion: Simplify `replaceOp` implementation (#145155)

Since #145030, `ConversionPatternRewriter::eraseBlock` no longer calls
`ConversionPatternRewriter::eraseOp`. This now happens in the rewriter
impl (during the cleanup phase). Therefore, a safety check in
`replaceOp` can now be simplified.



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