This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Add comprehensive bufferization support for linalg::InitTensor and tensor::CastOp (11/n)
ClosedPublic

Authored by nicolasvasilache on Jun 29 2021, 5:57 AM.

Details

Summary

Also add an integration test that connects all the dots end to end, including with cast to unranked tensor for external library calls.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Jun 29 2021, 5:57 AM
ftynse accepted this revision.Jun 30 2021, 12:51 AM
ftynse added inline comments.
mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
1589–1598

Looks shorter

This revision is now accepted and ready to land.Jun 30 2021, 12:51 AM
nicolasvasilache marked an inline comment as done.Jul 1 2021, 4:26 AM
This revision was landed with ongoing or failed builds.Jul 1 2021, 4:26 AM
This revision was automatically updated to reflect the committed changes.