[all-commits] [llvm/llvm-project] 9c7b0c: [MLIR] Add PatternRewriter::mergeBlockBefore() to ...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Wed Aug 19 16:25:41 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9c7b0c4aa5ebe5ec9fef9ca18bef0c3a916b0fca
https://github.com/llvm/llvm-project/commit/9c7b0c4aa5ebe5ec9fef9ca18bef0c3a916b0fca
Author: Rahul Joshi <jurahul at google.com>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M mlir/include/mlir/IR/Block.h
M mlir/include/mlir/IR/PatternMatch.h
M mlir/lib/IR/Block.cpp
M mlir/lib/IR/PatternMatch.cpp
M mlir/test/lib/Dialect/Test/TestPatterns.cpp
Log Message:
-----------
[MLIR] Add PatternRewriter::mergeBlockBefore() to merge a block in the middle of another block.
- This utility to merge a block anywhere into another one can help inline single
block regions into other blocks.
- Modified patterns test to use the new function.
Differential Revision: https://reviews.llvm.org/D86251
More information about the All-commits
mailing list