This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] optimizing permutation validity check in toMLIRSparseTensor
ClosedPublic

Authored by wrengr on Sep 13 2022, 10:03 PM.

Details

Summary

The previous sorting-based check was O(n*log n). The new implementation is O(n).

This is a followup to the refactoring of D133462, D133830, D133831, and D133833.

Depends On D133833

Diff Detail

Event Timeline

wrengr created this revision.Sep 13 2022, 10:03 PM
wrengr requested review of this revision.Sep 13 2022, 10:03 PM
aartbik accepted this revision.Sep 19 2022, 2:50 PM
This revision is now accepted and ready to land.Sep 19 2022, 2:50 PM
This revision was landed with ongoing or failed builds.Sep 29 2022, 3:08 PM
This revision was automatically updated to reflect the committed changes.