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

Kelvin Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 6 16:23:32 PST 2016


kkwli0 marked an inline comment as done.
kkwli0 added inline comments.


================
Comment at: lib/Basic/OpenMPKinds.cpp:757
          Kind == OMPD_distribute_parallel_for_simd ||
          Kind == OMPD_distribute_simd;
   // TODO add next directives.
----------------
ABataev wrote:
> Should it be added here along with OMPD_teams_distribute_parallel_for_simd? 
The isOpenMPNestingDistributeDirective is for the construct that has distribute be the outermost (e.g. distribute *) so that it can be checked against the nesting region whether it is teams or not.  I do not think it is necessary to add it here.


https://reviews.llvm.org/D27345





More information about the cfe-commits mailing list