This is a generalization of "do not copy the result of an InitTensorOp". This commit is in preparation of decoupling getResultBuffer from the Linalg dialect.
Depends On D113380
Paths
| Differential D113381
[mlir][linalg][bufferize] Do not copy results of non-writing ops ClosedPublic Authored by springerm on Nov 7 2021, 10:46 PM.
Details Summary This is a generalization of "do not copy the result of an InitTensorOp". This commit is in preparation of decoupling getResultBuffer from the Linalg dialect. Depends On D113380
Diff Detail
Event TimelineHerald added subscribers: wenzhicui, wrengr, Chia-hungDuan and 20 others. · View Herald TranscriptNov 7 2021, 10:46 PM springerm added a child revision: D113385: [mlir][bufferize][linalg] Do not copy tensors that are overwritten.Nov 8 2021, 12:59 AM This revision is now accepted and ready to land.Nov 10 2021, 12:22 AM This revision was landed with ongoing or failed builds.Nov 10 2021, 6:26 PM Closed by commit rG327414540860: [mlir][linalg][bufferize] Do not copy results of non-writing ops (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 386393 mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
|