This is the only op that is not supported via BufferizableOpInterfaceImpl bufferization. Once this op is supported we can switch tensor-bufferize over to the new unified bufferization.
Depends On D117984
| Paths 
 |  Differential  D117985  
[mlir][tensor][bufferize] Support tensor.rank in BufferizableOpInterfaceImpl ClosedPublic Authored by springerm on Jan 23 2022, 7:39 AM. 
Details Summary This is the only op that is not supported via BufferizableOpInterfaceImpl bufferization. Once this op is supported we can switch tensor-bufferize over to the new unified bufferization. Depends On D117984 
Diff Detail 
 Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 21 others.  ·  View Herald TranscriptJan 23 2022, 7:39 AM springerm added a child revision: D117986: [mlir][bufferize] Change insertion point for ToTensorOps.Jan 23 2022, 7:40 AM This revision is now accepted and ready to land.Jan 24 2022, 1:55 AM This revision was landed with ongoing or failed builds.Jan 24 2022, 7:32 AM Closed by commit rGfc08d1c29406: [mlir][tensor][bufferize] Support tensor.rank in BufferizableOpInterfaceImpl (authored by springerm).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 402524 mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp
 mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
 mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||