[PATCH] #pragma vectorize
Aaron Ballman
aaron at aaronballman.com
Tue May 13 09:08:12 PDT 2014
On Tue, May 13, 2014 at 12:04 PM, Zinovy Nis <zinovy.nis at gmail.com> wrote:
> I'd be nice to have a command-line switch to turn on and off this pragma.
> For example skipping "-fopenmp" makes a compiler to ignore OMP pragmas.
> So if you add this switch one can analyse the pure effect of using
> vectorizing pragmas at the specified locations.
Couldn't that be accomplished via macros already, where you have a
macro definition for #pragma loop, and simply noop the macro from the
command line with -D?
~Aaron
More information about the cfe-commits
mailing list