[flang-commits] [clang] [flang] [flang][OpenMP] Add -f[no]-openmp-simd (PR #150269)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Wed Jul 23 10:41:07 PDT 2025


================
@@ -952,6 +954,9 @@ void Flang::ConstructJob(Compilation &C, const JobAction &JA,
           << A->getSpelling() << A->getValue();
       break;
     }
+  } else {
+    Args.AddLastArg(CmdArgs, options::OPT_fopenmp_simd,
----------------
tarunprabhu wrote:

If I understand this correctly, `-fopenmp-simd` is effectively another way to enable OpenMP, just that it only enables the `simd` constructs. Is that correct?

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


More information about the flang-commits mailing list