================
@@ -1575,6 +1647,48 @@ void CodeGenFunction::EmitOMPReductionClauseInit(
   auto *IPriv = Privates.begin();
   for (const Expr *IRef : Shareds) {
     const auto *PrivateVD = 
cast<VarDecl>(cast<DeclRefExpr>(*IPriv)->getDecl());
+    const BindingDecl *BD = nullptr;
----------------
alexey-bataev wrote:

reduction(task:) and reduction(inscan:) and min/max with custom initializers 
are neither blocked nor tested for bindings, and the task/inscan data paths 
assume the RedCG-driven layout. Either add tests proving these work or diagnose 
them as unsupported like array/UDR.

https://github.com/llvm/llvm-project/pull/190832
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to