[all-commits] [llvm/llvm-project] 3b9240: [flang][OpenMP] Use 'present-modifier' instead of ...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Tue Aug 4 15:01:34 PDT 2026


  Branch: refs/heads/users/kparzysz/m02-present-modifier
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b924056bc1cfcc45d161a90053d7d79eb2b34c9
      https://github.com/llvm/llvm-project/commit/3b924056bc1cfcc45d161a90053d7d79eb2b34c9
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    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/Semantics/openmp-modifiers.cpp
    M flang/test/Semantics/OpenMP/from-clause-v45.f90
    M flang/test/Semantics/OpenMP/from-clause-v51.f90
    M flang/test/Semantics/OpenMP/to-clause-v45.f90
    M flang/test/Semantics/OpenMP/to-clause-v51.f90

  Log Message:
  -----------
  [flang][OpenMP] Use 'present-modifier' instead of 'expectation' in 5.1

The 5.1 spec lists PRESENT as an alternative in a 'motion-modifier'.
The other alternatives are mapper and iterator. These already exist
as separate modifiers, so 'motion-modifier' would best be expressed
as a modifier group. While modifier groups are not implemented yet,
borrow 'present-modifier' from the 6.0 spec.

The 'expectation' modifier only existed in 5.2, it was replaced by
'present-modifier' in 6.0.



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