[Mlir-commits] [mlir] Enable custom alloc-like ops in `promoteBufferResultsToOutParams` (PR #120288)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Dec 20 07:53:15 PST 2024


================
@@ -224,7 +232,13 @@ LogicalResult mlir::bufferization::promoteBufferResultsToOutParams(
       return failure();
     }
   }
-  if (failed(updateCalls(module, options)))
+  auto defaultAllocationFn = [](OpBuilder &builder, Location loc,
----------------
srcarroll wrote:

actually, no. i don't think forward declaration would work here

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


More information about the Mlir-commits mailing list