This fixes a bufferization issue with ops that are not supported by the buffer deallocation pass when allow-return-allocs=0.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D122304
[mlir][bufferize] Do not run the buffer deallocation pass if no allocs escape block boundaries ClosedPublic Authored by springerm on Mar 23 2022, 4:07 AM.
Details Summary This fixes a bufferization issue with ops that are not supported by the buffer deallocation pass when allow-return-allocs=0.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 23 2022, 5:06 AM Closed by commit rG3b74aac29c97: [mlir][bufferize] Do not run the buffer deallocation pass if no allocs escape… (authored by springerm). · Explain WhyMar 23 2022, 5:12 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 417560 mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
|