This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Add a build method for linalg.pad_tensor
ClosedPublic

Authored by hanchung on Feb 9 2021, 7:37 AM.

Details

Summary

Add a build method that pads the source with a scalar value.

Diff Detail

Event Timeline

hanchung created this revision.Feb 9 2021, 7:37 AM
hanchung requested review of this revision.Feb 9 2021, 7:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 9 2021, 7:37 AM
antiagainst accepted this revision.Feb 9 2021, 8:31 AM
antiagainst added inline comments.
mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
229

s/yield-ed/yielded/?

This revision is now accepted and ready to land.Feb 9 2021, 8:31 AM
nicolasvasilache accepted this revision.Feb 9 2021, 9:04 AM
hanchung updated this revision to Diff 322435.Feb 9 2021, 10:18 AM

Address comments

hanchung marked an inline comment as done.Feb 9 2021, 10:18 AM
This revision was landed with ongoing or failed builds.Feb 9 2021, 10:20 AM
This revision was automatically updated to reflect the committed changes.