This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

wrengr created this revision.May 3 2023, 6:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2023, 6:23 PM
wrengr requested review of this revision.May 3 2023, 6:23 PM
wrengr 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
wrengr edited the summary of this revision. (Show Details)
aartbik accepted this revision.May 3 2023, 6:39 PM
This revision is now accepted and ready to land.May 3 2023, 6:39 PM