- Call replaceOp instead of mapBuffer.
- Remove bvm and all helper functions around bvm.
- Simplify FuncOp bufferization and rely on existing functionality to generate ToMemrefOps for function BlockArguments.
Depends On D115493
Paths
| Differential D115515
[mlir][linalg][bufferize] Replace remaining bvm usage with new API ClosedPublic Authored by springerm on Dec 10 2021, 6:04 AM.
Details Summary
Depends On D115493
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 15 2021, 12:34 AM This revision was landed with ongoing or failed builds.Dec 15 2021, 6:25 AM Closed by commit rG417014170bd5: [mlir][linalg][bufferize] Replace remaining bvm usage with new API (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 394550 mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ArithInterfaceImpl.cpp
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizationInterfaceImpl.cpp
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.cpp
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/TensorInterfaceImpl.cpp
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/VectorInterfaceImpl.cpp
mlir/test/Dialect/Linalg/comprehensive-function-bufferize.mlir
mlir/test/Dialect/Linalg/comprehensive-module-bufferize-partial.mlir
mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
|