[PATCH] #pragma vectorize

Tyler Nowicki tnowicki at apple.com
Thu May 22 10:52:13 PDT 2014


Perhaps if we generalized the part that adds metadata to the loop so attributes and non-attributes (openmp stmts) can use the same mechanism? I’m not sure how other aspects are compatible. I would have to think about it.

I’ll work on a patch to merge these mechanisms in a follow-up commit.

Tyler

On 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
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140522/6ee1acff/attachment.html>


More information about the cfe-commits mailing list