[all-commits] [llvm/llvm-project] 7503c0: [mlir][Transforms] Support `moveOpBefore`/`After` ...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Fri Feb 9 02:01:08 PST 2024
Branch: refs/heads/users/matthias-springer/dialect_conversion_move_op_before
Home: https://github.com/llvm/llvm-project
Commit: 7503c0cb484c54249ff66c5780197d46937c660d
https://github.com/llvm/llvm-project/commit/7503c0cb484c54249ff66c5780197d46937c660d
Author: Matthias Springer <springerm at google.com>
Date: 2024-02-09 (Fri, 09 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.)
More information about the All-commits
mailing list