[LLVMdev] Vectorization of loops with conditional dereferencing
Stephen Lin
swlin at post.harvard.edu
Fri Nov 22 11:11:18 PST 2013
Nadav and Arnold,
What is the current status of vectorization pragmas? Do you think that's
something I might be able to take on if you two are busy with other things?
Stephen
On Thu, Nov 14, 2013 at 11:10 AM, Nadav Rotem <nrotem at apple.com> wrote:
> Its a good point. We will need to document the semantics of the
> vectorization pragma well.
>
> On Nov 14, 2013, at 10:58 AM, Ralf Karrenberg <Chareos at gmx.de> wrote:
>
> > Hi Nadav,
> >
> > On 14/11/13 17:38, Nadav Rotem wrote:
> >> Sure. Vectorization of stores is done by loading the current value
> from memory, blending the new value and saving it back to memory.
> >
> > Just a side note: You may run into trouble with this approach when
> people start using the loop vectorizer in combination with multi threading.
> The load/blend/store scheme introduces a race condition in this scenario.
> > I don't know if this is a valid use case for you, but it may be worth
> keeping in mind.
> >
> > Cheers,
> > Ralf
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131122/7e7a3bb2/attachment.html>
More information about the llvm-dev
mailing list