Page MenuHomePhabricator

[mlir][linalg] Adapt FillOp to use a scalar operand.
ClosedPublic

Authored by gysit on Jun 11 2021, 7:30 AM.

Details

Summary

Adapt the FillOp definition to use a scalar operand instead of a capture. This patch is a follow up to https://reviews.llvm.org/D104109. As the input operands are in front of the output operands the patch changes the internal operand order of the FillOp. The pretty printed version of the operation remains unchanged though. The patch also adapts the linalg to standard lowering to ensure the c signature of the FillOp remains unchanged as well.

Diff Detail

Event Timeline

gysit created this revision.Jun 11 2021, 7:30 AM
gysit requested review of this revision.Jun 11 2021, 7:30 AM
This revision is now accepted and ready to land.Jun 21 2021, 12:13 AM
gysit updated this revision to Diff 353339.Jun 21 2021, 4:43 AM

Rebase.

This revision was landed with ongoing or failed builds.Jun 21 2021, 11:45 PM
This revision was automatically updated to reflect the committed changes.