[clang] [llvm] [OpenMP][Clang] Add no-loop SPMD kernel promotion (PR #205325)
Nicole Aschenbrenner via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 25 04:04:48 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))
+ /*Default=*/TargetFastUsed))
----------------
nicebert wrote:
Sure. I had actually planned for this, which is why I made it a separate commit :) so it's easy to split off if requested. Reworing the PR to be just the no-loop commit and adding the defaults to target-fast in a separate PR
https://github.com/llvm/llvm-project/pull/205325
More information about the cfe-commits
mailing list