This is in preparation of fixing CallOp bufferization. Add explicit linalg.inplaceable attrs to all bbArgs, except for the ones where inplaceability should be decided by the analysis.
Depends On D116454
Paths
| Differential D115840
[mlir][linalg][bufferize][NFC] Add explicit inplaceable attrs to test cases ClosedPublic Authored by springerm on Dec 15 2021, 7:30 PM.
Details Summary This is in preparation of fixing CallOp bufferization. Add explicit linalg.inplaceable attrs to all bbArgs, except for the ones where inplaceability should be decided by the analysis. Depends On D116454
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 21 others. · View Herald TranscriptDec 15 2021, 7:30 PM springerm added a parent revision: D116454: [mlir][linalg][bufferize] Fix copy elision in `getResultBuffer`. springerm added a child revision: D115706: [mlir][linalg][bufferize][NFC] Analyze OpOperands instead of OpResults. This revision is now accepted and ready to land.Jan 7 2022, 5:31 AM Closed by commit rG547b9afc54ba: [mlir][linalg][bufferize][NFC] Add explicit inplaceable attrs to test cases (authored by springerm). · Explain WhyJan 7 2022, 7:28 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 397664 mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp
mlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
|