Remove some of the special rules for scf::IfOp (not all of them) and encode them in the op interface. This is in preparation of decoupling analysis, bufferization and dialects.
Depends On D113337
Paths
| Differential D112901
[mlir][linalg][bufferize] Remove special scf::IfOp rules ClosedPublic Authored by springerm on Oct 31 2021, 6:49 PM.
Details Summary Remove some of the special rules for scf::IfOp (not all of them) and encode them in the op interface. This is in preparation of decoupling analysis, bufferization and dialects. Depends On D113337
Diff Detail
Event TimelineHerald added subscribers: wenzhicui, wrengr, Chia-hungDuan and 20 others. · View Herald TranscriptOct 31 2021, 6:49 PM Comment Actions It is a bit hard to take this as an NFC .. can you maybe rebase it as the last commit so we can see what it would look like there? springerm added a parent revision: D113337: [mlir][linalg][bufferize] Add helper method isMemoryWrite to op interface. springerm removed a parent revision: D112900: [mlir][linalg][bufferize] Move BufferizableOpInterface implementations.Nov 6 2021, 2:26 AM springerm added a child revision: D113338: [mlir][linalg][bufferize] Bufferize ops via PreOrder traversal.Nov 6 2021, 2:27 AM springerm removed a child revision: D112902: [mlir][linalg][bufferize] Remove redundant methods from op interface.Nov 6 2021, 2:28 AM This revision is now accepted and ready to land.Nov 10 2021, 12:11 AM This revision was landed with ongoing or failed builds.Nov 10 2021, 1:42 AM Closed by commit rGbe98b20b9de7: [mlir][linalg][bufferize] Remove special scf::IfOp rules (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 383932 mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
|