This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Better support for bufferizing non-tensor results.
ClosedPublic

Authored by nicolasvasilache on Jul 12 2021, 4:35 PM.

Details

Summary

Clean up corner cases related to elemental tensor / buffer type return values that would previously fail.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Jul 12 2021, 4:35 PM
ThomasRaoux accepted this revision.Jul 12 2021, 9:40 PM
This revision is now accepted and ready to land.Jul 12 2021, 9:40 PM
ThomasRaoux added inline comments.Jul 12 2021, 10:04 PM
mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
3

nit: should be:
// CHECK-LABEL: func @transfer_read(%{{.*}}: memref<?xf32, #{{.*}}>) -> vector<4xf32> {

This revision was landed with ongoing or failed builds.Jul 13 2021, 3:27 AM
This revision was automatically updated to reflect the committed changes.