[all-commits] [llvm/llvm-project] af4823: [flang][OpenMP] Introduce OmpHintClause, simplify ...

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


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

  Changed paths:
    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/lib/Lower/OpenMP/Clauses.cpp
    M flang/lib/Parser/openmp-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    M flang/test/Semantics/OpenMP/atomic-hint-clause.f90
    M flang/test/Semantics/OpenMP/critical-hint-clause.f90
    M llvm/include/llvm/Frontend/OpenMP/OMP.td

  Log Message:
  -----------
  [flang][OpenMP] Introduce OmpHintClause, simplify OmpAtomicClause

The OmpAtomicClause is a variant of a few specific clauses that are
used on the ATOMIC construct. The HINT clause, however, was represented
as a generic OmpClause, which somewhat complicated the analysis of
an OmpAtomicClause.

Introduce OmpHintClause to represent the contents of the HINT clause,
and use it on OmpAtomicClause similarly to how OmpFailClause is used.



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