[all-commits] [llvm/llvm-project] 511a0f: [clang][OpenMP] Extend no-loop promotion to the sp...

Nicole Aschenbrenner via All-commits all-commits at lists.llvm.org
Fri Sep 18 07:04:46 PDT 2026


  Branch: refs/heads/users/nicebert/clang-openmp-no-loop-split-spellings
  Home:   https://github.com/llvm/llvm-project
  Commit: 511a0fc00efdc63c0e08f297727bd9e734672894
      https://github.com/llvm/llvm-project/commit/511a0fc00efdc63c0e08f297727bd9e734672894
  Author: Nicole Aschenbrenner <nicole.aschenbrenner at amd.com>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

  Changed paths:
    M clang/include/clang/AST/StmtOpenMP.h
    M clang/lib/AST/StmtOpenMP.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.h
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M clang/test/OpenMP/target_no_loop.c

  Log Message:
  -----------
  [clang][OpenMP] Extend no-loop promotion to the split teams loop

Widen the no-loop promotion to apply not only to the fused target teams
distribute parallel for but include the same region written as separate
directives, other directives promotable to parallel for, and regions
carrying a schedule clause that asks for a mapping a no-loop kernel
already provides.

Use the SPMD_NO_LOOP kernel tag to carry the promotion decision, based
on whether the kernel can get fully promoted to a no-loop kernel. This
eliminates the previous discrepancy where a clause got the tag but not
the promotion.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list