The existing PostOrder traversal with special rules for certain ops was complicated and had a bug. Switch to PreOrder traversal.
Depends On D112901
Paths
| Differential D113338
[mlir][linalg][bufferize] Bufferize ops via PreOrder traversal ClosedPublic Authored by springerm on Nov 6 2021, 2:27 AM.
Details Summary The existing PostOrder traversal with special rules for certain ops was complicated and had a bug. Switch to PreOrder traversal. Depends On D112901
Diff Detail
Event TimelineHerald added subscribers: wenzhicui, wrengr, Chia-hungDuan and 20 others. · View Herald TranscriptNov 6 2021, 2:27 AM springerm added a child revision: D113339: [mlir][linalg][bufferize] Add mustBufferizeInPlace to op interface.Nov 6 2021, 2:52 AM This revision is now accepted and ready to land.Nov 10 2021, 12:12 AM This revision was landed with ongoing or failed builds.Nov 10 2021, 1:51 AM Closed by commit rGc3eb967e2ac8: [mlir][linalg][bufferize] Bufferize ops via PreOrder traversal (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 386096 mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
mlir/test/Dialect/Linalg/comprehensive-module-bufferize-invalid.mlir
mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
|