This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Add a FillOpInterface.
ClosedPublic

Authored by gysit on Mar 1 2022, 7:02 AM.

Details

Summary

Add a FillOpInterface similar to the contraction and convolution op interfaces. The FillOpInterface is a preparation step to replace linalg.fill by its OpDSL version linalg.fill_tensor. The interface implements the value(), output(), and result() methods that by default are not available on linalg.fill_tensor.

Diff Detail

Event Timeline

gysit created this revision.Mar 1 2022, 7:02 AM
gysit requested review of this revision.Mar 1 2022, 7:02 AM
gysit updated this revision to Diff 413718.Mar 8 2022, 12:34 AM

Rebase.

Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2022, 12:34 AM
nicolasvasilache accepted this revision.Mar 8 2022, 5:49 AM
This revision is now accepted and ready to land.Mar 8 2022, 5:49 AM
gysit updated this revision to Diff 413789.Mar 8 2022, 6:34 AM

Regenerate yaml file.

This revision was automatically updated to reflect the committed changes.