[LLVMdev] Vectorizing global struct pointers

Nadav Rotem nrotem at apple.com
Tue Feb 5 09:28:39 PST 2013


On Feb 5, 2013, at 9:22 AM, Hal Finkel <hfinkel at anl.gov> wrote:

> I think that the potential for overlap is indeed there, but don't we already insert runtime overlap checks as necessary? This seems like it would just be another such case.

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.    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130205/c4f1b273/attachment.html>


More information about the llvm-dev mailing list