A buffer copy may not be elided if the to-be-bufferized op is reading the data.
Depends On D116453
Paths
| Differential D116454
[mlir][linalg][bufferize] Fix copy elision in `getResultBuffer` ClosedPublic Authored by springerm on Dec 31 2021, 7:43 AM.
Details Summary A buffer copy may not be elided if the to-be-bufferized op is reading the data. Depends On D116453
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 21 others. · View Herald TranscriptDec 31 2021, 7:43 AM This revision is now accepted and ready to land.Jan 7 2022, 5:06 AM Closed by commit rGb8d075369468: [mlir][linalg][bufferize] Fix copy elision in `getResultBuffer` (authored by springerm). · Explain WhyJan 7 2022, 7:19 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 398105 mlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
|