[all-commits] [llvm/llvm-project] 4b29ee: [LLVM][OpenMP] Add "version" parameter to getOpenM...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Fri May 9 05:41:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b29ee407e6466364d70f7962104561553ea89cc
      https://github.com/llvm/llvm-project/commit/4b29ee407e6466364d70f7962104561553ea89cc
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMP.h
    M llvm/unittests/Frontend/OpenMPDecompositionTest.cpp
    M llvm/unittests/Frontend/OpenMPParsingTest.cpp
    M llvm/utils/TableGen/Basic/DirectiveEmitter.cpp

  Log Message:
  -----------
  [LLVM][OpenMP] Add "version" parameter to getOpenMPDirectiveName (#139114)

Some OpenMP directives have different spellings in different versions of
the OpenMP spec. To use the proper spelling for a given spec version
pass "version" as a parameter to getOpenMPDirectiveName.

This parameter won't be used at the moment, and will have a default
value to allow callers not to pass it, for gradual adoption in various
components.

RFC:
https://discourse.llvm.org/t/rfc-alternative-spellings-of-openmp-directives/85507



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