[all-commits] [llvm/llvm-project] 8e6227: [flang][OpenMP] Extend common::AtomicDefaultMemOrd...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Fri Apr 18 07:52:29 PDT 2025


  Branch: refs/heads/users/kparzysz/spr/h02-memory-order
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e622780e3069fd4695fc832b74c8b8af5acad18
      https://github.com/llvm/llvm-project/commit/8e622780e3069fd4695fc832b74c8b8af5acad18
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-04-18 (Fri, 18 Apr 2025)

  Changed paths:
    M flang/examples/FeatureList/FeatureList.cpp
    M flang/include/flang/Lower/DirectivesCommon.h
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/include/flang/Semantics/symbol.h
    M flang/include/flang/Support/Fortran.h
    M flang/lib/Lower/OpenMP/Clauses.cpp
    M flang/lib/Parser/openmp-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/lib/Semantics/rewrite-directives.cpp

  Log Message:
  -----------
  [flang][OpenMP] Extend common::AtomicDefaultMemOrderType enumeration

Add "Acquire" and "Release", and rename it to OmpMemoryOrderType,
since memory order type is a concept extending beyond the
ATOMIC_DEFAULT_MEM_ORDER clause.

When processing a REQUIRES directive (in rewrite-directives.cpp),
do not add Acquire or Release to ATOMIC constructs, because handling
of those types depends on the OpenMP version, which is not available
in that file. This issue will be addressed later.



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