This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Updating `Merger::foreachTensorLoopId` to take `LatPointId`
ClosedPublic

Authored by wrengr on Mar 14 2023, 1:03 PM.

Details

Summary

Since all callsites of foreachTensorLoopId would simply look up the LatPointId to extract its BitVector, it's cleaner to let the Merger handle that instead. This seems to better capture the intent of the foreachTensorLoopId method, and improves decoupling (since it removes a place that leaks the implementation detail that we use BitVector).

Diff Detail

Event Timeline

wrengr created this revision.Mar 14 2023, 1:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2023, 1:03 PM
wrengr requested review of this revision.Mar 14 2023, 1:03 PM
wrengr updated this revision to Diff 505234.Mar 14 2023, 1:10 PM

git-clang-format

aartbik accepted this revision.Mar 15 2023, 9:08 AM
This revision is now accepted and ready to land.Mar 15 2023, 9:08 AM