This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Canonicalizing arguments to genReshapeDstShape and foreachInSparseConstant
ClosedPublic

Authored by wrengr on Apr 11 2023, 3:17 PM.

Details

Summary

These functions don't need a`PatternRewriter`, they only need an OpBuilder. And, the builder should be the first argument, before the Location, to match the style used everywhere else in MLIR.

Diff Detail

Event Timeline

wrengr created this revision.Apr 11 2023, 3:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 11 2023, 3:17 PM
wrengr requested review of this revision.Apr 11 2023, 3:17 PM
aartbik accepted this revision.Apr 11 2023, 3:19 PM
This revision is now accepted and ready to land.Apr 11 2023, 3:19 PM
wrengr updated this revision to Diff 512605.Apr 11 2023, 3:22 PM

git-clang-format