[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 08:12:43 PDT 2017


rengolin added a comment.

Hi Graham,

I don't know much about Clang's machinery, but would it be possible to have `-fopenmp-simd` generate the same handler, but with restrictions? I fear this slight duplication could get considerably worse as we support more and more "non-RT" OMP pragmas.

Alternatively, if this is for testing purposes, we have another pragma which does exactly the same thing as `omp simd`, which are the Clang vectorizer pragmas (http://llvm.org/docs/Vectorizers.html#pragma-loop-hint-directives).

cheers,
--renato


https://reviews.llvm.org/D31417





More information about the cfe-commits mailing list