tensor::CastOp by itself does not bufferize to memory read/write.
Depends On D112512
| Paths 
 |  Differential  D112514  
[mlir][linalg][bufferize] tensor::CastOp is an alias-only op ClosedPublic Authored by springerm on Oct 25 2021, 10:25 PM. 
Details 
Diff Detail 
 Event TimelineHerald added subscribers: wenzhicui, wrengr, Chia-hungDuan and 21 others.  ·  View Herald TranscriptOct 25 2021, 10:25 PM springerm added a child revision: D112515: [mlir][linalg][bufferize][NFC] Add bufferizesToAliasOnly.Oct 25 2021, 10:26 PM This revision is now accepted and ready to land.Oct 28 2021, 6:14 AM Closed by commit rG4e14bacbda6c: [mlir][linalg][bufferize] tensor::CastOp is an alias-only op (authored by springerm).  ·  Explain WhyOct 31 2021, 12:57 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 383639 mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||