[Mlir-commits] [flang] [mlir] [acc] Support for Optional arguments in firstprivate recipes (PR #190079)
Razvan Lupusoru
llvmlistbot at llvm.org
Wed Apr 1 15:58:25 PDT 2026
================
@@ -844,80 +861,91 @@ mlir::Value OpenACCMappableModel<Ty>::generatePrivateInit(
"dynamic allocation of the whole base in case of section is not "
"expected");
- if (inputVar.getType() == alloc.getType() && !allocateSection)
----------------
razvanlupusoru wrote:
It looks like you changed old lines 847 to 918 - but I think you just put them in an "else" branch. This is not necessary - you can leave the old code as before where everything following the "if" is not in the branch.
https://github.com/llvm/llvm-project/pull/190079
More information about the Mlir-commits
mailing list