[all-commits] [llvm/llvm-project] 637d23: [flang][OpenMP] Allow UPDATE clause to not have an...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Sun Apr 27 08:01:57 PDT 2025
Branch: refs/heads/users/kparzysz/spr/a03-update-clause
Home: https://github.com/llvm/llvm-project
Commit: 637d237b9d904cfea6dc40eefb303f59641f545e
https://github.com/llvm/llvm-project/commit/637d237b9d904cfea6dc40eefb303f59641f545e
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2025-04-27 (Sun, 27 Apr 2025)
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/check-omp-structure.cpp
M llvm/include/llvm/Frontend/OpenMP/OMP.td
Log Message:
-----------
[flang][OpenMP] Allow UPDATE clause to not have any arguments
The UPDATE clause can be specified on both ATOMIC and DEPOBJ directives.
Currently, the ATOMIC directive has its own handling of it, and the
definition of the UPDATE clause only supports its use in the DEPOBJ
directive, where it takes a dependence-type as an argument.
The UPDATE clause on the ATOMIC directive may not have any arguments.
Since the implementation of the ATOMIC construct will be modified to
use the standard handling of clauses, the definition of UPDATE should
reflect that.
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