[clang] [clang][SemaOpenACC] Avoid assertion on VLA reduction operand (PR #199178)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri May 22 06:12:13 PDT 2026


================
@@ -2689,6 +2688,14 @@ Expr *GenerateReductionInitRecipeExpr(ASTContext &Context,
         return nullptr;
     }
 
+  } else if (Ty->isArrayType()) {
----------------
erichkeane wrote:

I'd probably just put this as an 'or' in the below condition, plus update the comment, as we actually have full codegen support now.

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


More information about the cfe-commits mailing list