This is an archive of the discontinued LLVM Phabricator instance.

[linalg] Add TensorDimOp to list of ops known by bufferization.
ClosedPublic

Authored by gysit on Jul 20 2021, 5:10 AM.

Details

Summary

Bufferization handles all unknown ops conservative. The patch ensures accessing the dimension of an output tensor does not prevent in place bufferization.

Diff Detail

Event Timeline

gysit created this revision.Jul 20 2021, 5:10 AM
gysit requested review of this revision.Jul 20 2021, 5:10 AM
nicolasvasilache accepted this revision.Jul 20 2021, 5:14 AM
nicolasvasilache added inline comments.
mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
525

no tensor result.

This revision is now accepted and ready to land.Jul 20 2021, 5:14 AM
gysit updated this revision to Diff 360092.Jul 20 2021, 5:19 AM

Address comment.

This revision was landed with ongoing or failed builds.Jul 20 2021, 5:45 AM
This revision was automatically updated to reflect the committed changes.