[all-commits] [llvm/llvm-project] ed6404: [flang][openacc] Fix clauses check with device_typ...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Tue Jan 9 09:51:55 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ed640420b50e960b7700e2fa973b9fdcdcb32838
https://github.com/llvm/llvm-project/commit/ed640420b50e960b7700e2fa973b9fdcdcb32838
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-01-09 (Tue, 09 Jan 2024)
Changed paths:
M flang/lib/Semantics/check-acc-structure.cpp
M flang/test/Semantics/OpenACC/acc-loop.f90
M llvm/include/llvm/Frontend/OpenACC/ACC.td
Log Message:
-----------
[flang][openacc] Fix clauses check with device_type (#77389)
A couple of clauses are allowed multiple times when they are separated
by a device_type clause. This patch updates the ACC.td file to move
these clauses to the `allowedClause` list and the
`CheckAllowedOncePerGroup` function is used to make sure they appear
only once on the directive or for each device_type.
More information about the All-commits
mailing list