[PATCH] D100228: [flang][OpenMP] Add semantic check for close nesting of `master` regions

Kiran Chandramohan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 7 01:35:13 PDT 2021


kiranchandramohan added inline comments.


================
Comment at: flang/lib/Semantics/check-omp-structure.h:98
+    OmpDirectiveSet{
+        llvm::omp::Directive::OMPD_atomic, llvm::omp::Directive::OMPD_master} |
+    taskGeneratingSet | workShareSet};
----------------
Is a master construct not allowed in a master construct?


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

https://reviews.llvm.org/D100228



More information about the llvm-commits mailing list