[all-commits] [llvm/llvm-project] 3ed98c: [mlir][IR] Change `notifyBlockCreated` to `notifyB...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Fri Jan 26 01:47:10 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3ed98cb3de303c316c943da7d60b48472f7efdec
https://github.com/llvm/llvm-project/commit/3ed98cb3de303c316c943da7d60b48472f7efdec
Author: Matthias Springer <me at m-sp.org>
Date: 2024-01-26 (Fri, 26 Jan 2024)
Changed paths:
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M mlir/include/mlir/IR/Builders.h
M mlir/include/mlir/IR/PatternMatch.h
M mlir/include/mlir/Transforms/DialectConversion.h
M mlir/lib/IR/Builders.cpp
M mlir/lib/IR/PatternMatch.cpp
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
Log Message:
-----------
[mlir][IR] Change `notifyBlockCreated` to `notifyBlockInserted` (#79472)
This change makes the callback consistent with
`notifyOperationInserted`: both now notify about IR insertion, not IR
creation. See also #78988.
This change also simplifies the dialect conversion: it is no longer
necessary to override the `inlineRegionBefore` method. All information
that is necessary for rollback is provided with the
`notifyBlockInserted` callback.
More information about the All-commits
mailing list