[clang] [llvm] [OpenMP][Clang] Add no-loop SPMD kernel promotion (PR #205325)

Robert Imschweiler via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 23 09:28:08 PDT 2026


================
@@ -6983,11 +6983,11 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
       // thread and team counts in the device.
       if (Args.hasFlag(options::OPT_fopenmp_assume_teams_oversubscription,
                        options::OPT_fno_openmp_assume_teams_oversubscription,
-                       /*Default=*/false))
----------------
ro-i wrote:

note that this now differs from flang (in case that's something we want to align):

https://github.com/llvm/llvm-project/blob/9acc93f96af24fd3b3598f3cc51520aaff6e688c/clang/lib/Driver/ToolChains/Flang.cpp#L753-L759

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


More information about the cfe-commits mailing list