================
@@ -146,13 +146,24 @@ def PrivateClauseOp : OpenMP_Op<"private",
[IsolatedFromAbove, RecipeInterface]>
return region.empty() ? nullptr : region.getArgument(0);
}
+ /// Returns true if the init region might read from the mold argument
+ bool initReadsFromMold() {
+ BlockArgument moldArg = getInitMoldArg();
+ return moldArg ? !moldArg.use_empty() : false;
----------------
tblah wrote:
Thanks. Fixed in
[459d2d5](https://github.com/llvm/llvm-project/pull/125307/commits/459d2d5ea7f803cc6553b7d9007283281263f1fe)
https://github.com/llvm/llvm-project/pull/125307
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits