Buffers with undefined contents (e.g., the result of an init_tensor) are no longer copied.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D125015
[mlir][bufferize] Do not copy buffers with undefined contents ClosedPublic Authored by springerm on May 5 2022, 7:48 AM.
Details Summary Buffers with undefined contents (e.g., the result of an init_tensor) are no longer copied.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 5 2022, 8:50 AM Closed by commit rG988748c0774f: [mlir][bufferize] Do not copy buffers with undefined contents (authored by springerm). · Explain WhyMay 6 2022, 1:35 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 427557 mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
mlir/include/mlir/Dialect/Bufferization/Transforms/OneShotAnalysis.h
mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
mlir/test/Dialect/Linalg/one-shot-bufferize.mlir
|