[PATCH] #pragma vectorize

Mark Heffernan meheff at google.com
Thu May 22 10:22:12 PDT 2014


FWIW, we (a few people at Google working on CUDA PTX target) are looking to
build on this patch to support a loop unrolling pragma, eg: #pragma loop
unroll(...).  Thanks for making our job easier :-)  I know some others on
this thread had expressed interest in a similar feature.  I intend to work
on the unroll pragma as soon as this patch is in, so if anyone else is
already working on this please let me know.

thanks,
Mark


On Thu, May 22, 2014 at 2:27 AM, Alexander Musman <
alexander.musman at gmail.com> wrote:

> I've just committed my change with emission of the loop metadata for
> vectorizer for 'omp simd' (in r209411) and I think that in some follow-up
> patch it would be good to do a change to use the same code path in both
> (i.e. use CGLoopInfo to emit loop metadata for all vectorizing pragmas).
> Actually, if '#pragma loop vectorize' will get a clause for marking
> loads/stores loop-parallel, it is good idea to reuse it anyway.
>
> Alexander
>
>
> 2014-05-20 20:12 GMT+04:00 Tyler Nowicki <tnowicki at apple.com>:
>
>> Ping.
>>
>> On May 14, 2014, at 10:05 AM, Tyler Nowicki <tnowicki at apple.com> wrote:
>>
>> > Hi Alexey, Aaron,
>> >
>> > Thanks for the review. Richard and John please review the attached
>> patch.
>> >
>> > Tyler
>> >
>> > <pragma_loop-svn.patch>
>> >
>> > On May 13, 2014, at 9:51 PM, Alexey Bataev <a.bataev at hotmail.com>
>> wrote:
>> >
>> >> I think CodeGen part of the patch should be reviewed by  John McCall.
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140522/0fb5f397/attachment.html>


More information about the cfe-commits mailing list