Bufferization handles all unknown ops conservative. The patch ensures accessing the dimension of an output tensor does not prevent in place bufferization.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D106356
[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 TimelineHerald added subscribers: dcaballe, cota, mravishankar and 17 others. · View Herald TranscriptJul 20 2021, 5:10 AM nicolasvasilache added inline comments.
This revision is now accepted and ready to land.Jul 20 2021, 5:14 AM This revision was landed with ongoing or failed builds.Jul 20 2021, 5:45 AM Closed by commit rG339637774393: [linalg] Add TensorDimOp to list of ops known by bufferization. (authored by gysit). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 360097 mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
|
no tensor result.