- This utility to merge a block into anywhere into another one can help inline single block regions into other blocks.
- Modified patterns test to use the new function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D86251
[MLIR] Add PatternRewriter::mergeBlockBefore() to merge a block in the middle of another block. ClosedPublic Authored by jurahul on Aug 19 2020, 3:47 PM.
Details Summary
Diff Detail
Event TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptAug 19 2020, 3:47 PM This revision is now accepted and ready to land.Aug 19 2020, 3:51 PM Closed by commit rG9c7b0c4aa5eb: [MLIR] Add PatternRewriter::mergeBlockBefore() to merge a block in the middle… (authored by jurahul). · Explain WhyAug 19 2020, 4:25 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 286684 mlir/include/mlir/IR/Block.h
mlir/include/mlir/IR/PatternMatch.h
mlir/lib/IR/Block.cpp
mlir/lib/IR/PatternMatch.cpp
mlir/test/lib/Dialect/Test/TestPatterns.cpp
|