[Mlir-commits] [mlir] [mlir][bufferization] Adding the optimize-allocation-liveness pass (PR #101827)

Matthias Springer llvmlistbot at llvm.org
Sun Aug 11 01:43:09 PDT 2024


================
@@ -37,6 +37,11 @@ std::unique_ptr<Pass> createBufferDeallocationPass();
 std::unique_ptr<Pass> createOwnershipBasedBufferDeallocationPass(
     DeallocationOptions options = DeallocationOptions());
 
+/// Creates a pass that finds all temp allocations, and attempts to move the deallocation after the last user/dependency 
+/// of the allocation. Thus, optimizing the allocation liveness.
+//  The pass is expected to run after the deallocaion pipeline.
----------------
matthias-springer wrote:

Tripple `///`.

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


More information about the Mlir-commits mailing list