[all-commits] [llvm/llvm-project] 3f732c: [mlir][Transforms] Fix use-after-free in #82474 (#...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Feb 21 08:28:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f732c4141e95de829a896c38af11473377dbcd6
      https://github.com/llvm/llvm-project/commit/3f732c4141e95de829a896c38af11473377dbcd6
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-02-21 (Wed, 21 Feb 2024)

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

  Log Message:
  -----------
  [mlir][Transforms] Fix use-after-free in #82474 (#82504)

When a `ModifyOperationRewrite` is committed, the operation may already
have been erased, so `OperationName` must be cached in the rewrite
object.

Note: This will no longer be needed with #81757, which adds a "cleanup"
method to `IRRewrite`.



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