================
@@ -516,8 +516,8 @@ bool ClauseProcessor::processNumThreads(
     mlir::omp::NumThreadsClauseOps &result) const {
   if (auto *clause = findUniqueClause<omp::clause::NumThreads>()) {
     // OMPIRBuilder expects `NUM_THREADS` clause as a `Value`.
-    result.numThreads =
-        fir::getBase(converter.genExprValue(clause->v, stmtCtx));
+    result.numThreadsVars.push_back(
+        fir::getBase(converter.genExprValue(clause->v, stmtCtx)));
----------------
skc7 wrote:

Thanks for feedback. Updated this and ClauseT.h from llvm to accept list.

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

Reply via email to