[all-commits] [llvm/llvm-project] 648cc4: [mlir][Transforms] Fix use-after-free in #82474
Matthias Springer via All-commits
all-commits at lists.llvm.org
Wed Feb 21 08:28:05 PST 2024
Branch: refs/heads/users/matthias-springer/fix_use_after_free
Home: https://github.com/llvm/llvm-project
Commit: 648cc44da386bdcbb5abd87f79af6a274c6f6de8
https://github.com/llvm/llvm-project/commit/648cc44da386bdcbb5abd87f79af6a274c6f6de8
Author: Matthias Springer <springerm at google.com>
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
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