[all-commits] [llvm/llvm-project] 87ccc5: [OpenACC] Adjust rules of 'routine' required claus...
Erich Keane via All-commits
all-commits at lists.llvm.org
Thu Dec 4 08:26:26 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87ccc55df4028cf16ed4632fb5e99fc9a6210d5e
https://github.com/llvm/llvm-project/commit/87ccc55df4028cf16ed4632fb5e99fc9a6210d5e
Author: Erich Keane <ekeane at nvidia.com>
Date: 2025-12-04 (Thu, 04 Dec 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaOpenACCClause.cpp
M clang/test/ParserOpenACC/parse-clauses.c
M clang/test/SemaOpenACC/combined-construct-num_gangs-clause.c
M clang/test/SemaOpenACC/combined-construct-num_workers-clause.c
M clang/test/SemaOpenACC/combined-construct-vector_length-clause.c
M clang/test/SemaOpenACC/compute-construct-async-clause.c
M clang/test/SemaOpenACC/compute-construct-num_gangs-clause.c
M clang/test/SemaOpenACC/compute-construct-num_workers-clause.c
M clang/test/SemaOpenACC/compute-construct-vector_length-clause.c
M clang/test/SemaOpenACC/data-construct-async-clause.c
M clang/test/SemaOpenACC/loop-construct-collapse-clause.cpp
M clang/test/SemaOpenACC/loop-construct-tile-clause.cpp
M clang/test/SemaOpenACC/routine-construct-clauses.cpp
Log Message:
-----------
[OpenACC] Adjust rules of 'routine' required clauses (#170667)
The interaction between various clauses on 'routine' was not implemented
QUITE right, as I discovered when looking into the implementation of the
ACC dialect. This patch fixes it up so that there can only be 1 of the
special clauses per device_type VALUE (including nvidia ==
acc_device_nvidia).
This patch also does a refactor/unification of this with the rules of
other clauses, as we now know they are effectively the same.
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