File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ def get_bufferization_stage(options: CompileOptions) -> List[str]:
240240 "func.func(buffer-hoisting)" ,
241241 "func.func(buffer-loop-hoisting)" ,
242242 "func.func(promote-buffers-to-stack)" ,
243- "func.func( buffer-deallocation) " ,
243+ "ownership-based- buffer-deallocation" ,
244244 "convert-arraylist-to-memref" ,
245245 "convert-bufferization-to-memref" ,
246246 "canonicalize" , # Must be after convert-bufferization-to-memref
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ void createBufferizationPipeline(OpPassManager &pm)
8686 pm.addNestedPass <mlir::func::FuncOp>(mlir::bufferization::createBufferHoistingPass ());
8787 pm.addNestedPass <mlir::func::FuncOp>(mlir::bufferization::createBufferLoopHoistingPass ());
8888 pm.addNestedPass <mlir::func::FuncOp>(mlir::bufferization::createPromoteBuffersToStackPass ());
89- pm.addNestedPass <mlir::func::FuncOp>( mlir::bufferization::createBufferDeallocationPass ());
89+ pm.addPass ( catalyst::createOwnershipBasedBufferDeallocationPass ());
9090 pm.addPass (catalyst::createArrayListToMemRefPass ());
9191 pm.addPass (mlir::createConvertBufferizationToMemRefPass ());
9292 pm.addPass (mlir::createCanonicalizerPass ());
You can’t perform that action at this time.
0 commit comments