[flang-commits] [flang] [Flang][OpenMP] Use simdloop operation only for omp simd pragma (PR #79559)

Dominik Adamski via flang-commits flang-commits at lists.llvm.org
Fri Jan 26 05:40:24 PST 2024


================
@@ -3377,10 +3414,17 @@ static void genOMP(Fortran::lower::AbstractConverter &converter,
                               ")");
   }
 
-  // 2.9.3.1 SIMD construct
   if (llvm::omp::allSimdSet.test(ompDirective)) {
-    createSimdLoop(converter, eval, ompDirective, loopOpClauseList,
-                   currentLocation);
+    if (isWorkshareSimdConstruct(ompDirective)) {
----------------
DominikAdamski wrote:

Thanks for the remark. I applied it.

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


More information about the flang-commits mailing list