This helps catch some otherwise hard to track down segfaults. N.B., even though getSparseTensorType is not touched in this patch, it also gains the new error checking (via getRankedTensorType).
Depends On D149805
Paths
| Differential D149806
[mlir][sparse] Improving error detection/messages for `get{RankedTensor,MemRef}Type` wrappers ClosedPublic Authored by wrengr on May 3 2023, 6:23 PM.
Details Summary This helps catch some otherwise hard to track down segfaults. N.B., even though getSparseTensorType is not touched in this patch, it also gains the new error checking (via getRankedTensorType). Depends On D149805
Diff Detail
Event Timelinewrengr retitled this revision from [mlir][sparse] Improving error detection/messages for get{Foo}Type wrappers to [mlir][sparse] Improving error detection/messages for `get{RankedTensor,MemRef}Type` wrappers.May 3 2023, 6:25 PM This revision is now accepted and ready to land.May 3 2023, 6:39 PM Closed by commit rG3da83fbafef1: [mlir][sparse] Improving error detection/messages for `get{RankedTensor… (authored by wrengr). · Explain WhyMay 3 2023, 6:48 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 519326 mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h
|