[Mlir-commits] [mlir] [mlir][memref] Fix hoist-static-allocs option of buffer-results-to-out-params when function parameters are returned (PR #102093)
donald chen
llvmlistbot at llvm.org
Thu Aug 22 05:14:24 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
----------------
cxy-1993 wrote:
style: // Check if the value is a function argument.
https://github.com/llvm/llvm-project/pull/102093
More information about the Mlir-commits
mailing list