[all-commits] [llvm/llvm-project] 1d17c7: [mlir][Transforms] Support `moveOpBefore`/`After` ...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Wed Feb 14 08:13:17 PST 2024
Branch: refs/heads/users/matthias-springer/dialect_conversion_move_op_before
Home: https://github.com/llvm/llvm-project
Commit: 1d17c768c1588850ceb331e3dd85930deec5728c
https://github.com/llvm/llvm-project/commit/1d17c768c1588850ceb331e3dd85930deec5728c
Author: Matthias Springer <springerm at google.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/include/mlir/IR/PatternMatch.h
M mlir/include/mlir/Transforms/DialectConversion.h
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/test/Transforms/test-legalizer.mlir
M mlir/test/lib/Dialect/Test/TestPatterns.cpp
Log Message:
-----------
[mlir][Transforms] Support `moveOpBefore`/`After` in dialect conversion
Add a new rewrite action for "operation movements". This action can roll back `moveOpBefore` and `moveOpAfter`.
`RewriterBase::moveOpBefore` and `RewriterBase::moveOpAfter` is no longer virtual. (The dialect conversion can gather all required information for rollbacks from listener notifications.)
BEGIN_PUBLIC
No public commit message needed for presubmit.
END_PUBLIC
More information about the All-commits
mailing list