This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Restyling macros in the runtime library
ClosedPublic

Authored by wrengr on May 11 2022, 4:34 PM.

Details

Summary

In addition to reducing code repetition, this also helps ensure that the various API functions follow the naming convention of mlir::sparse_tensor::primaryTypeFunctionSuffix (e.g., due to typos in the repetitious code).

Depends On D125428

Diff Detail

Event Timeline

wrengr created this revision.May 11 2022, 4:34 PM
wrengr requested review of this revision.May 11 2022, 4:34 PM
wrengr updated this revision to Diff 429030.May 12 2022, 11:25 AM

(rebasing for dependencies having rerun git-clang-format)

aartbik accepted this revision.May 16 2022, 1:19 PM

I like this a lot! You will have to rebase for my complex change (sorry), but good to submit without review after that.

This revision is now accepted and ready to land.May 16 2022, 1:19 PM
wrengr updated this revision to Diff 429873.May 16 2022, 3:14 PM

rebasing for D125596

wrengr updated this revision to Diff 429886.May 16 2022, 3:52 PM

rerunning git-clang-format

This revision was automatically updated to reflect the committed changes.