[all-commits] [llvm/llvm-project] 5e261d: [mlir][Transforms] Support `moveOpBefore`/`After` ...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Wed Feb 14 08:34:00 PST 2024
Branch: refs/heads/users/matthias-springer/dialect_conversion_move_op_before
Home: https://github.com/llvm/llvm-project
Commit: 5e261def657fc6ac280ab9af8d1d57208efe9aad
https://github.com/llvm/llvm-project/commit/5e261def657fc6ac280ab9af8d1d57208efe9aad
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