A part of the functionality of bufferize is extracted into getBufferType. Also, bufferized scf.yields inside scf.if are now created with the correct bufferized type from the get-to.
Depends On D132861
Paths
| Differential D132862
[mlir][SCF][bufferize][NFC] Move scf.if buffer type computation to getBufferType ClosedPublic Authored by springerm on Aug 29 2022, 9:14 AM.
Details Summary A part of the functionality of bufferize is extracted into getBufferType. Also, bufferized scf.yields inside scf.if are now created with the correct bufferized type from the get-to. Depends On D132861
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 30 2022, 6:18 AM Closed by commit rG9d6096c56fca: [mlir][SCF][bufferize][NFC] Move scf.if buffer type computation to getBufferType (authored by springerm). · Explain WhyAug 30 2022, 7:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 456672 mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
mlir/test/Dialect/SCF/one-shot-bufferize-invalid.mlir
|