[PATCH] #pragma vectorize

Tyler Nowicki tnowicki at apple.com
Wed Jun 4 19:57:35 PDT 2014


Hi Aaron and Richard,

Thanks for the review and putting up with me while I learn clang! Here is the patch with your changes.


>> +      // Vectorization/interleaving is disabled, set width/count to 1.
>> +      ValueInt = 1;
>> +    // Fallthrough.
> 
> We should add [[clang::fallthrough]] to Compiler.h and use it here. :-)

Turns out I didn’t need to make any changes to Compiler.h. It works fine for me. Will it work for all builds?

Tyler



-------------- next part --------------
A non-text attachment was scrubbed...
Name: pragma_loop-svn.patch
Type: application/octet-stream
Size: 46525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140604/a8c8f0a5/attachment.obj>


More information about the cfe-commits mailing list