[all-commits] [llvm/llvm-project] a7c956: [mlir][IR] Set insertion point when erasing an ope...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Sun Jul 27 01:27:48 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a7c9563995cdeb2b74202ad47bf262152e0870e6
https://github.com/llvm/llvm-project/commit/a7c9563995cdeb2b74202ad47bf262152e0870e6
Author: Matthias Springer <me at m-sp.org>
Date: 2025-07-27 (Sun, 27 Jul 2025)
Changed paths:
M mlir/include/mlir/IR/PatternMatch.h
M mlir/lib/IR/PatternMatch.cpp
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
[mlir][IR] Set insertion point when erasing an operation (#146955)
Erasing the operation to which the current insertion point is set,
leaves the insertion point in an invalid state. This commit resets the
insertion point to the following operation.
Also adjust the insertion point when inlining a block.
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