[Polly] Annotate reduction dependences

Johannes Doerfert jdoerfert at codeaurora.org
Thu Jul 17 17:21:41 PDT 2014


Hey,

 

Attached is a patch to annotate reduction dependences caused by each memory
access to this memory access.

The reason we want to do that is code generation. At some point we need to
determine which accesses need to be privatized in order to generate valid
parallel/vectorized code.

To find these accesses later we would need to iterate over all candidate
memory accesses and perform the parallelism check again on the reduction
dependences of the memory access.

 

I'm open to different solutions but I think this is way is pretty save.

 

Best regards,

  Johannes

 

--

 

Johannes Doerfert

Employee of Qualcomm Innovation Center, Inc.

Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140717/2a902e50/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Annotate-memory-accesses-with-their-reduction-depend.patch
Type: application/octet-stream
Size: 4345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140717/2a902e50/attachment.obj>


More information about the llvm-commits mailing list