This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Simplifying Merger::expContainsTensor
ClosedPublic

Authored by wrengr on Mar 22 2023, 10:09 PM.

Details

Summary

expContainsTensor used to call expIsTensor to short-circuit the recursive calls; however, the very first thing expContainsTensor does is to check expIsTensor, so the short-circuiting code just causes the function to check that condition redundantly.

Depends On D146684

Diff Detail

Event Timeline

wrengr created this revision.Mar 22 2023, 10:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2023, 10:09 PM
wrengr requested review of this revision.Mar 22 2023, 10:09 PM
wrengr updated this revision to Diff 509501.Mar 29 2023, 4:46 PM

rebasing for the postponement splitting of D146684

aartbik accepted this revision.Apr 5 2023, 8:58 PM
This revision is now accepted and ready to land.Apr 5 2023, 8:58 PM
This revision was automatically updated to reflect the committed changes.