This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][transform][python] Make divisor arg to Multitile optional
ClosedPublic

Authored by ingomueller-net on Sep 4 2023, 1:12 AM.

Details

Summary

The mix-in of the MultiTileSizesOp set the default value of its
divisor argument. This repeats information from the tablegen
defintion, is not necessary (since the generic code deals with None
and default values), and has the risk of running out of sync without
people noticing. This patch removes the setting of the value and forward
None to the generic constructor instead.

Diff Detail

Event Timeline

ingomueller-net created this revision.Sep 4 2023, 1:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 4 2023, 1:12 AM
ingomueller-net requested review of this revision.Sep 4 2023, 1:12 AM
ftynse accepted this revision.Sep 4 2023, 1:44 AM
This revision is now accepted and ready to land.Sep 4 2023, 1:44 AM