[PATCH] D27345: [OpenMP] Sema and parsing for 'teams distribute parallel for' pragma

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 5 00:31:55 PST 2016


ABataev added inline comments.


================
Comment at: lib/Basic/OpenMPKinds.cpp:721
          DKind == OMPD_target_parallel_for_simd;
   // TODO add next directives.
 }
----------------
You should consider this new directive as a parallel directive. And OMPD_teams_distribute_parallel_for_simd either.


================
Comment at: lib/Basic/OpenMPKinds.cpp:757
          Kind == OMPD_distribute_parallel_for_simd ||
          Kind == OMPD_distribute_simd;
   // TODO add next directives.
----------------
Should it be added here along with OMPD_teams_distribute_parallel_for_simd? 


https://reviews.llvm.org/D27345





More information about the cfe-commits mailing list