[LLVMdev] parallel loop metadata simplification
paul.redmond at intel.com
Tue Mar 5 09:12:12 PST 2013
On 2013-03-03, at 2:58 PM, Hal Finkel wrote:
> I agree; we should only annotate accesses that some from language-level array/pointer(/reference) accesses. We should then rely on other passes to clean up (or not) the remainder.
> I think that the best way to handle local arrays is to issue a warning when they occur inside an annotated loop that the local array will probably inhibit vectorization (I say probably because SROA, etc. may make it go away). We can think about implementing privatization transformations in the future. Even this warning can be a follow-up enhancement.
Attached is my most recent patch for clang. Maybe someone wants to play with it or has ideas on how to refine the llvm.mem metadata generation.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 23634 bytes
More information about the llvm-dev