[mlir][sparse] lower trivial tensor.cast on identical sparse tensors
Even though tensor.cast is not part of the sparse tensor dialect, it may be used to cast static dimension sizes to dynamic dimension sizes for sparse tensors without changing the actual sparse tensor itself. Those cases should be lowered properly when replacing sparse tensor types with their opaque pointers. Likewise, no op sparse conversions are handled by this revision in a similar manner. Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D112173
parent
68cac47c
Please register or sign in to comment