The interface method bufferize controls how (and it what order) nested ops are traversed. This simplifies bufferization of scf::ForOps and scf::IfOps, which used to need special rules in scf::YieldOp.
Depends On D114055
Paths
| Differential D114057
[mlir][linalg][bufferize][NFC] Specify bufferize traversal in `bufferize` ClosedPublic Authored by springerm on Nov 16 2021, 9:55 PM.
Details Summary The interface method bufferize controls how (and it what order) nested ops are traversed. This simplifies bufferization of scf::ForOps and scf::IfOps, which used to need special rules in scf::YieldOp. Depends On D114055
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 21 others. · View Herald TranscriptNov 16 2021, 9:55 PM This revision is now accepted and ready to land.Nov 17 2021, 12:27 AM springerm added a parent revision: D114055: [mlir][linalg][bufferize] Limited support for scf.execute_region. springerm removed a parent revision: D114056: [mlir][linalg][bufferize][NFC] Call `bufferize` on all bufferizable ops. This revision was landed with ongoing or failed builds.Nov 23 2021, 4:36 AM Closed by commit rGf24d9313cc9f: [mlir][linalg][bufferize][NFC] Specify bufferize traversal in `bufferize` (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 389167 mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h
mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.td
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.cpp
|