The rules were too restrictive, causing out-of-place bufferization when the result of two ExtractSliceOp is fed into an InsertSliceOp.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D111861  
[mlir][linalg][bufferize] Relax rules for extract_slice/insert_slice matching ClosedPublic Authored by springerm on Oct 14 2021, 7:12 PM. 
Details Summary The rules were too restrictive, causing out-of-place bufferization when the result of two ExtractSliceOp is fed into an InsertSliceOp. 
Diff Detail 
 Event TimelineHerald added subscribers: wenzhicui, wrengr, Chia-hungDuan and 20 others.  ·  View Herald TranscriptOct 14 2021, 7:12 PM This revision is now accepted and ready to land.Oct 14 2021, 10:51 PM Closed by commit rGe7bb8dd92983: [mlir][linalg][bufferize] Relax rules for extract_slice/insert_slice matching (authored by springerm).  ·  Explain WhyOct 16 2021, 1:13 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 379900 mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
 mlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||