If we have no information about an op, assume that each tensor OpOperand may alias with each tensor OpResult.
Also enable analysis of unknown ops (for testing).
Depends On: D142005
Paths
| Differential D142006
[mlir][bufferization] Fix getAliasingOpOperand/OpResult for non-bufferizable ops ClosedPublic Authored by springerm on Jan 18 2023, 3:47 AM.
Details Summary If we have no information about an op, assume that each tensor OpOperand may alias with each tensor OpResult. Also enable analysis of unknown ops (for testing). Depends On: D142005
Diff Detail
Event Timelinespringerm added a parent revision: D142005: [mlir][sparse] Implement BufferizableOpInterface for additional ops.Jan 18 2023, 3:48 AM springerm added a child revision: D142128: [mlir][bufferization][NFC] Simplify func bufferization state.Jan 19 2023, 8:24 AM This revision is now accepted and ready to land.Jan 30 2023, 12:07 AM Closed by commit rGf3483c23ce2c: [mlir][bufferization] Fix getAliasingOpOperand/OpResult for non-bufferizable ops (authored by springerm). · Explain WhyJan 30 2023, 1:11 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 493228 mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
mlir/lib/Dialect/Bufferization/Transforms/FuncBufferizableOpInterfaceImpl.cpp
mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-analysis.mlir
mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-partial.mlir
mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-pass-statistics.mlir
mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize.mlir
|