This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Use arrays to pass padding options.
ClosedPublic

Authored by gysit on Mar 23 2022, 6:07 AM.

Details

Summary

Pass the padding options using arrays instead of lambdas. In particular pass the padding value as string and use the argument parser to create the padding value. Arrays are a more natural choice that matches the current use cases and avoids converting arrays to lambdas.

Diff Detail

Event Timeline

gysit created this revision.Mar 23 2022, 6:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 23 2022, 6:07 AM
gysit requested review of this revision.Mar 23 2022, 6:07 AM
gysit updated this revision to Diff 417971.Mar 24 2022, 10:16 AM

Use attribute instead of string.

gysit updated this revision to Diff 418270.Mar 25 2022, 10:23 AM

Improve tests.

nicolasvasilache accepted this revision.Mar 28 2022, 4:40 AM
This revision is now accepted and ready to land.Mar 28 2022, 4:40 AM
This revision was automatically updated to reflect the committed changes.