[Mlir-commits] [mlir] [mlir][bufferization] Add deallocation option to remove existing dealloc operations, add option to specify the kind of alloc operations to consider (PR #67556)

Matthias Springer llvmlistbot at llvm.org
Thu Sep 28 01:14:23 PDT 2023


================
@@ -233,6 +233,11 @@ def OwnershipBasedBufferDeallocation : Pass<
            "If it can be determined statically that the ABI is not adhered "
            "to, an error will already be emitted at compile time. This cannot "
            "be changed with this option.">,
+    Option<"removeExistingDeallocations", "remove-existing-deallocations",
+           "bool", /*default=*/"false",
+           "Remove already existing MemRef deallocation operations and let the "
----------------
matthias-springer wrote:

same here

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


More information about the Mlir-commits mailing list