[flang-commits] [clang] [flang] [flang][OpenMP] Add -f[no]-openmp-simd (PR #150269)
Kajetan Puchalski via flang-commits
flang-commits at lists.llvm.org
Wed Jul 23 10:55:16 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,
----------------
mrkajetanp wrote:
Yes, that's correct. If openmp is already enabled with -fopenmp then it should have no effect.
https://github.com/llvm/llvm-project/pull/150269
More information about the flang-commits
mailing list