However, since CallOps have no aliasing OpResults, their OpOperands always bufferize out-of-place.
This change removes bufferizesToMemoryWrite from CallOpInterface. This method was called, but its return value did not matter.
Depends On D114513
Paths
| Differential D114616
[mlir][linalg][bufferize] CallOps do not bufferize to memory writes ClosedPublic Authored by springerm on Nov 26 2021, 12:13 AM.
Details Summary However, since CallOps have no aliasing OpResults, their OpOperands always bufferize out-of-place. This change removes bufferizesToMemoryWrite from CallOpInterface. This method was called, but its return value did not matter. Depends On D114513
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 21 others. · View Herald TranscriptNov 26 2021, 12:13 AM This revision is now accepted and ready to land.Dec 1 2021, 12:05 AM Closed by commit rG2fd0ea960c8a: [mlir][linalg][bufferize] CallOps do not bufferize to memory writes (authored by springerm). · Explain WhyDec 1 2021, 1:52 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 389928 mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.td
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp
mlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
|