[PATCH] [OPENMP] Initial support for '#pragma omp declare simd' directive.

Bataev, Alexey a.bataev at hotmail.com
Tue Jun 23 01:06:36 PDT 2015


Hal, I don't think that this is necessary (at least now). It does not 
change anything, the function still must be marked as simd. There will 
be additional analysis for clauses, because most of clauses arguments 
must be referenced only once.

Best regards,
Alexey Bataev
=============
Software Engineer
Intel Compiler Team

23.06.2015 4:25, hfinkel at anl.gov пишет:
> ================
> Comment at: test/OpenMP/declare_simd_ast_print.c:10
> @@ +9,3 @@
> +#pragma omp declare simd
> +#pragma omp declare simd
> +void add_1(float *d, float *s1, float *s2);
> ----------------
> I understand that the point is that you can have multiple 'declare simd' directives for the same function. However, if you have actual duplicates, should we issue a warning?
>
> http://reviews.llvm.org/D10599
>
> EMAIL PREFERENCES
>    http://reviews.llvm.org/settings/panel/emailpreferences/
>
>





More information about the cfe-commits mailing list