[Mlir-commits] [mlir] [mlir] [bufferize] fix bufferize deallocation error in nest symbol table (PR #98476)

Matthias Springer llvmlistbot at llvm.org
Sun Jul 14 11:56:09 PDT 2024


================
@@ -46,7 +46,8 @@ std::unique_ptr<Pass> createLowerDeallocationsPass();
 /// Adds the conversion pattern of the `bufferization.dealloc` operation to the
 /// given pattern set for use in other transformation passes.
 void populateBufferizationDeallocLoweringPattern(
-    RewritePatternSet &patterns, func::FuncOp deallocLibraryFunc);
+    RewritePatternSet &patterns,
+    const llvm::DenseMap<Operation *, func::FuncOp> &deallocHelperFuncMap);
----------------
matthias-springer wrote:

Add comment for `deallocHelperFuncMap` and mention that this is mapping from symbol tables to dealloc functions.

https://github.com/llvm/llvm-project/pull/98476


More information about the Mlir-commits mailing list