OSDN Git Service

[flang][openacc] Add missing loop construct restriction and validity tests
authorValentin Clement <clementval@gmail.com>
Tue, 8 Dec 2020 19:11:18 +0000 (14:11 -0500)
committerclementval <clementval@gmail.com>
Tue, 8 Dec 2020 19:12:12 +0000 (14:12 -0500)
commitc823d74914a287e056eb311ce293e7d4a521eb25
treec4293ebeb3a498c70516a57a3902a894958c63db
parent3c5bed734f9e02bd3bc4fbd1e0acc53506823ebf
[flang][openacc] Add missing loop construct restriction and validity tests

Add restriction on loop construct associated with DO CONCURRENT. Add couple of tests to ensure
clause validity checks.

Reviewed By: sameeranjoshi

Differential Revision: https://reviews.llvm.org/D92533
flang/lib/Semantics/canonicalize-acc.cpp
flang/test/Semantics/acc-canonicalization-validity.f90
flang/test/Semantics/acc-clause-validity.f90