[LLVMdev] Vectorizing global struct pointers

Hal Finkel hfinkel at anl.gov
Tue Feb 5 09:47:01 PST 2013


----- Nadav Rotem <nrotem at apple.com> wrote:
> 
> 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. 

Exactly. My point is that this is the logic to look at generalizing.

 -Hal

-- 
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory



More information about the llvm-dev mailing list