[PATCH] D15220: [OPENMP] dist_schedule clause for distribute directive

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 7 19:35:50 PST 2015


ABataev added a comment.

Carlo,

1. please post your diffs exactly as said in http://llvm.org/docs/Phabricator.html, with full context available.
2. add a test with ast-printing, serialization/deserialization


================
Comment at: include/clang/Basic/OpenMPKinds.def:394-399
@@ -394,1 +393,8 @@
 
+// Clauses allowed for OpenMP directive 'distribute'
+OPENMP_DISTRIBUTE_CLAUSE(private)
+OPENMP_DISTRIBUTE_CLAUSE(firstprivate)
+OPENMP_DISTRIBUTE_CLAUSE(lastprivate)
+OPENMP_DISTRIBUTE_CLAUSE(collapse)
+OPENMP_DISTRIBUTE_CLAUSE(dist_schedule)
+
----------------
Please commit a patch with 'ditribute' directive at first

================
Comment at: test/OpenMP/distribute_dist_schedule_messages.cpp:1
@@ +1,2 @@
+// RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify -fopenmp -ferror-limit 100 -o - %s
+
----------------
Template test?


Repository:
  rL LLVM

http://reviews.llvm.org/D15220





More information about the cfe-commits mailing list