[PATCH] D89546: [Flang][OpenMP 4.5] Add semantic check for OpenMP schedule clause

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 08:20:17 PST 2020


clementval added inline comments.


================
Comment at: flang/test/Semantics/omp-do-schedule.f90:7
+  real ::  a(100), y(100), z(100)
+  !ERROR: The chunk size of the schedule clause must be a positive integer expression.
+  !$omp do schedule(static, -1)
----------------
I guess you have to make the clause uppercase here as well. 


================
Comment at: flang/test/Semantics/omp-do-schedule02.f90:9
+  integer,parameter :: c = 11
+  !ERROR: The chunk size of the schedule clause must be a positive integer expression.
+  !$omp do schedule(static,b-c)
----------------
Same here for the clause in uppercase. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89546/new/

https://reviews.llvm.org/D89546



More information about the llvm-commits mailing list