[PATCH] D88655: [Flang][OpenMP][OpenACC] Fix exit out of a region in OpenMP parallel construct.

Kiran Chandramohan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 23 14:19:06 PST 2020


kiranchandramohan added inline comments.


================
Comment at: flang/lib/Semantics/check-directive-structure.h:55
+  }
+  void Post(const parser::StopStmt &) { EmitBranchOutError("STOP"); }
+
----------------
A stop statement is allowed inside a pararallel region in OpenMP. Possibly in OpenACC as well.

Page 40 line 6. https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-5.0.pdf



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88655



More information about the llvm-commits mailing list