[all-commits] [llvm/llvm-project] 8f4cd2: [mlir][Transforms] Support `moveOpBefore`/`After` ...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Wed Feb 14 08:40:11 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8f4cd2c7e3c35f23004c1448705be8f673c2d271
https://github.com/llvm/llvm-project/commit/8f4cd2c7e3c35f23004c1448705be8f673c2d271
Author: Matthias Springer <me at m-sp.org>
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 (#81240)
Add a new rewrite class for "operation movements". This rewrite class
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