[all-commits] [llvm/llvm-project] 16db96: [OpenMP][clang] 6.0: num_threads strict (part 3: c...

Robert Imschweiler via All-commits all-commits at lists.llvm.org
Thu Jul 17 07:02:56 PDT 2025


  Branch: refs/heads/users/ro-i/omp-runtime-nt-strict_3
  Home:   https://github.com/llvm/llvm-project
  Commit: 16db9661eb53d8c50beba211065f0327694c24ba
      https://github.com/llvm/llvm-project/commit/16db9661eb53d8c50beba211065f0327694c24ba
  Author: Robert Imschweiler <robert.imschweiler at amd.com>
  Date:   2025-07-17 (Thu, 17 Jul 2025)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.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/test/OpenMP/nvptx_target_parallel_num_threads_codegen.cpp
    M clang/test/OpenMP/parallel_num_threads_codegen.cpp
    M clang/test/OpenMP/target_parallel_num_threads_messages.cpp
    A clang/test/OpenMP/target_parallel_num_threads_strict_codegen.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def

  Log Message:
  -----------
  [OpenMP][clang] 6.0: num_threads strict (part 3: codegen)

OpenMP 6.0 12.1.2 specifies the behavior of the strict modifier for the
num_threads clause on parallel directives, along with the message and
severity clauses. This commit implements necessary codegen changes.


  Commit: 8296fde47f8e8fccfe8127a6d6b5dff773cbcedd
      https://github.com/llvm/llvm-project/commit/8296fde47f8e8fccfe8127a6d6b5dff773cbcedd
  Author: Robert Imschweiler <robert.imschweiler at amd.com>
  Date:   2025-07-17 (Thu, 17 Jul 2025)

  Changed paths:
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    A clang/test/OpenMP/amdgcn_target_parallel_num_threads_codegen.cpp
    M clang/test/OpenMP/nvptx_target_parallel_num_threads_codegen.cpp

  Log Message:
  -----------
  GPU codegen doesn't use emitNumThreadsClause -> pass information to emitParallelCall as well


Compare: https://github.com/llvm/llvm-project/compare/664a0418aedf...8296fde47f8e

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