[PATCH] Generate warning when explicitly specified vectorization fails

Aaron Ballman aaron.ballman at gmail.com
Thu Jul 10 05:45:33 PDT 2014

On Wed, Jul 9, 2014 at 10:40 PM, Tyler Nowicki <tnowicki at apple.com> wrote:
> If these pragmas are silently ignored when then they don’t have much value.
> A big part of their value come from the confirmation that they are working.
> The warning will only be generated on loops with #pragma clang loop
> vectorize/interleave/unroll specified. It can also be silenced using the
> command line option -Wno-optimization-warning.
> I’m still looking into the clang in 32-bit mode question posed earlier. Are
> there any other comments on the patches?

Clang side LGTM!


More information about the cfe-commits mailing list