[PATCH] D70726: [OpenMP50] Add parallel master construct

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 07:03:31 PST 2019


ABataev added inline comments.


================
Comment at: clang/include/clang/AST/StmtOpenMP.h:1875
+  /// \param AssociatedStmt Statement, associated with the directive.
+  /// \param HasCancel true if current directive has inner cancel directive.
+  ///
----------------
No such param.


================
Comment at: clang/test/OpenMP/parallel_master_codegen.cpp:364
+// CK7:  call {{.*}}void {{.+}} @__kmpc_fork_call(%{{.+}}* @{{.+}}, i{{.+}} 0, {{.+}}* [[GTID_TEST_REGION1:@.+]] to void
+#pragma omp parallel
+#pragma omp parallel master if (parallel: false)
----------------
Why do we need the outer parallel region here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70726





More information about the cfe-commits mailing list