[LLVMdev] Vectorizing global struct pointers

Renato Golin renato.golin at linaro.org
Tue Feb 5 09:41:39 PST 2013


On 5 February 2013 17:28, Nadav Rotem <nrotem at apple.com> wrote:

> We insert runtime overlap checks only for unidentified objects. The
> problem here is that the vectorizer thinks that A,B,C are all pointers to
> the same array, so it gives up.  If A,B,C were different arrays then it
> could have used runtime checks.
>

Yes, that is exactly the code that creates the run-time checks. ;)

I'll try to inspect the uses for GEPs and store the offsets in a map. If it
works, we can think of a better implementation.

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130205/6eed7a7e/attachment.html>


More information about the llvm-dev mailing list