By default, OpResult buffers are writable. But there are ops (e.g., ConstantOp) for which this is not the case.
The purpose of this commit is to further decouple Comprehensive Bufferize from the Standard dialect.
Depends On D112907
Paths
| Differential D112908
[mlir][linalg][bufferize] Add isWritable to op interface ClosedPublic Authored by springerm on Nov 1 2021, 12:57 AM.
Details Summary By default, OpResult buffers are writable. But there are ops (e.g., ConstantOp) for which this is not the case. The purpose of this commit is to further decouple Comprehensive Bufferize from the Standard dialect. Depends On D112907
Diff Detail
Event TimelineHerald added subscribers: wenzhicui, wrengr, Chia-hungDuan and 20 others. · View Herald TranscriptNov 1 2021, 12:57 AM springerm added a child revision: D112991: [mlir][linalg][bufferize][NFC] Simplify AllocationCallbacks.Nov 2 2021, 1:48 AM springerm added a child revision: D112992: [mlir][linalg][bufferize] Decouple BufferizationAliasInfo. springerm removed a child revision: D112991: [mlir][linalg][bufferize][NFC] Simplify AllocationCallbacks.Nov 2 2021, 1:50 AM This revision is now accepted and ready to land.Nov 2 2021, 2:01 AM This revision was landed with ongoing or failed builds.Nov 4 2021, 7:36 PM Closed by commit rGc8f4005b0c65: [mlir][linalg][bufferize] Add isWritable to op interface (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 384943 mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterface.td
mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
|