This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] misc code cleanup
ClosedPublic

Authored by wrengr on Feb 13 2023, 1:52 PM.

Details

Summary
  • Flattening/simplifying some nested conditionals
  • const-ifying some local variables

Depends On D143800

Diff Detail

Event Timeline

wrengr created this revision.Feb 13 2023, 1:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 13 2023, 1:52 PM
wrengr requested review of this revision.Feb 13 2023, 1:52 PM
aartbik accepted this revision.Feb 13 2023, 1:54 PM
This revision is now accepted and ready to land.Feb 13 2023, 1:54 PM
wrengr updated this revision to Diff 497102.Feb 13 2023, 2:00 PM

Using the getRankedTensorType method in lieu of static_cast

wrengr updated this revision to Diff 497103.Feb 13 2023, 2:02 PM

git-clang-format

This revision was automatically updated to reflect the committed changes.