Add Semantic check for Flang OpenMP 4.5 - 2.15.3.6 Reduction clause
Implementation of Reduction clause restriction checks. Files: flang/lib/Semantics/check-directive-structure.h flang/lib/Semantics/check-omp-structure.cpp flang/lib/Semantics/check-omp-structure.h flang/lib/Semantics/resolve-directives.cpp Testcases: flang/test/Semantics/omp-reduction01.f90 flang/test/Semantics/omp-reduction02.f90 flang/test/Semantics/omp-reduction03.f90 flang/test/Semantics/omp-reduction04.f90 flang/test/Semantics/omp-reduction05.f90 flang/test/Semantics/omp-reduction06.f90 flang/test/Semantics/omp-reduction07.f90 flang/test/Semantics/omp-reduction08.f90 flang/test/Semantics/omp-reduction09.f90 flang/test/Semantics/omp-reduction10.f90 flang/test/Semantics/omp-symbol08.f90 Reviewed by: Kiran Chandramohan @kiranchandramohan and Valentin Clement @clementval. Differential Revision: https://reviews.llvm.org/D90697
Loading
Please register or sign in to comment