[all-commits] [llvm/llvm-project] 60090a: [flang][openacc] Restrict number of device_type va...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Wed Aug 23 12:00:03 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 60090a50ff1bf480ac86db76d5537027b8aa0b5c
https://github.com/llvm/llvm-project/commit/60090a50ff1bf480ac86db76d5537027b8aa0b5c
Author: Valentin Clement <clementval at gmail.com>
Date: 2023-08-23 (Wed, 23 Aug 2023)
Changed paths:
M flang/lib/Semantics/check-acc-structure.cpp
M flang/test/Semantics/OpenACC/acc-set-validity.f90
Log Message:
-----------
[flang][openacc] Restrict number of device_type values on the set directive
The standard suggests that the value for the `device_type` clause on the
`set` directive is a list but this does not makes sense. Restrict the number
of value to one so it matches the runtime function.
Depends on D158644
Reviewed By: razvanlupusoru
Differential Revision: https://reviews.llvm.org/D158645
More information about the All-commits
mailing list