to_memref is usually not allowed in the input IR when running One-Shot Bufferize.
- Allow to_memref if there are no other bufferizable ops.
- Better error message when to_memref is found.
Paths
| Differential D125718
[mlir][bufferize] Improve handling of to_memref ops during analysis AbandonedPublic Authored by springerm on May 16 2022, 12:09 PM.
Details
Summary to_memref is usually not allowed in the input IR when running One-Shot Bufferize.
Diff Detail
Event TimelineComment Actions Can you document the reason for this special casing? This revision now requires changes to proceed.Jun 24 2022, 8:50 AM
Revision Contents
Diff 429811 mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-partial.mlir
mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-invalid.mlir
|