This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Making SortMask into an enum-class
ClosedPublic

Authored by wrengr on Mar 8 2023, 1:43 PM.

Details

Summary

This helps to reduce the confusion from using unsigned everywhere.

Depends On D145606

Diff Detail

Event Timeline

wrengr created this revision.Mar 8 2023, 1:43 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2023, 1:43 PM
wrengr requested review of this revision.Mar 8 2023, 1:43 PM
Peiming accepted this revision.Mar 8 2023, 2:04 PM
Peiming added inline comments.
mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
549

I probably need to rethink about how it works with includeDenseInput/Output differently, but this is irrelevant to this patch.

This revision is now accepted and ready to land.Mar 8 2023, 2:04 PM
This revision was automatically updated to reflect the committed changes.