[all-commits] [llvm/llvm-project] 4a5ac1: [OpenMP][bbc][flang] Add _OPENMP macro definition

Dominik Adamski via All-commits all-commits at lists.llvm.org
Mon Jun 5 03:07:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a
      https://github.com/llvm/llvm-project/commit/4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2023-06-05 (Mon, 05 Jun 2023)

  Changed paths:
    A flang/include/flang/Common/OpenMP-features.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    A flang/test/Driver/bbc-openmp-version-macro.f90
    A flang/test/Driver/flang-openmp-version-macro.f90
    M flang/tools/bbc/bbc.cpp

  Log Message:
  -----------
  [OpenMP][bbc][flang] Add _OPENMP macro definition

OpenMP standard (section 3.3 for OpenMP 5.2) requires that _OPENMP macro
contains release date of given OpenMP standard version.

Differential Revision: https://reviews.llvm.org/D151083

Reviewed By: kiranchandramohan




More information about the All-commits mailing list