[PATCH] D31417: [OpenMP] Add support for omp simd pragmas without runtime

Renato Golin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 29 09:10:10 PDT 2017


rengolin added a comment.

In https://reviews.llvm.org/D31417#713171, @huntergr wrote:

> The other alternative I thought of was to perform the filtering in ParseOpenMP.cpp instead, but I need to figure out how to delete or skip tokens there without cluttering up the rest of the OpenMP parsing.


That was my first thought, yes, but I'm not sure how invasive this could get.

> This feature comes from user requests, and basically matches the functionality of other compilers (e.g. gcc).

Right, in this case, I think we have a stronger motivation to make that an integral part of the existing OpenMP parser.

cheers,
--renato


https://reviews.llvm.org/D31417





More information about the cfe-commits mailing list