[Mlir-commits] [mlir] [mlir][memref] Fix hoist-static-allocs option of buffer-results-to-out-params when function parameters are returned (PR #102093)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Sep 3 00:07:09 PDT 2024


================
@@ -102,6 +102,16 @@ updateFuncOp(func::FuncOp func,
   return success();
 }
 
+static bool isFunctionArgument(mlir::Value value) {
+  // Check if the value is a Function argument
----------------
Menooker wrote:

The whole function is no longer needed now.

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


More information about the Mlir-commits mailing list