[all-commits] [llvm/llvm-project] e68e8d: [flang][OpenMP] Parsing and semantics of locators ...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed Jun 24 06:51:58 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e68e8d35c91b4fd3ba0ae3ef12d79b41d92580b2
      https://github.com/llvm/llvm-project/commit/e68e8d35c91b4fd3ba0ae3ef12d79b41d92580b2
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/include/flang/Semantics/expression.h
    M flang/include/flang/Semantics/symbol.h
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/Clauses.cpp
    M flang/lib/Parser/openmp-parsers.cpp
    M flang/lib/Parser/openmp-utils.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/check-omp-loop.cpp
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    M flang/lib/Semantics/check-omp-variant.cpp
    M flang/lib/Semantics/openmp-utils.cpp
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/rewrite-parse-tree.cpp
    A flang/test/Lower/OpenMP/Todo/locator-call-affinity.f90
    A flang/test/Lower/OpenMP/Todo/locator-call-from.f90
    A flang/test/Lower/OpenMP/Todo/locator-call-map.f90
    A flang/test/Lower/OpenMP/Todo/locator-call-to.f90
    A flang/test/Lower/OpenMP/Todo/locator-reserved.f90
    M flang/test/Parser/OpenMP/allocate-align-tree.f90
    M flang/test/Parser/OpenMP/allocate-tree-spec-part.f90
    M flang/test/Parser/OpenMP/allocate-tree.f90
    M flang/test/Parser/OpenMP/declare-variant.f90
    M flang/test/Parser/OpenMP/depobj-construct.f90
    M flang/test/Parser/OpenMP/groupprivate.f90
    M flang/test/Parser/OpenMP/metadirective-dirspec.f90
    M flang/test/Parser/OpenMP/metadirective-flush.f90
    M flang/test/Parser/OpenMP/openmp6-directive-spellings.f90
    M flang/test/Parser/OpenMP/threadprivate.f90
    M flang/test/Semantics/OpenMP/affinity-invalid.f90
    M flang/test/Semantics/OpenMP/depend-substring.f90
    A flang/test/Semantics/OpenMP/reserved-locator.f90
    M llvm/include/llvm/Frontend/OpenMP/OMP.h
    M llvm/lib/Frontend/OpenMP/OMP.cpp

  Log Message:
  -----------
  [flang][OpenMP] Parsing and semantics of locators as part of OmpObject (#203910)

Allow function call references and reserved locator names as parts of
OmpObject. Function calls and array element accesses have the same
syntax, and the OmpObject parser will parse them as function calls. This
is then corrected (if needed) immediately after the name resolution is
complete.

There are no clause-specific semantic checks of proper locators.
Existing code will check if a proper locator is specified on a clause
that allows it.

Lowering of proper locators to MLIR is not implemented, and a TODO
message is emitted.



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