[LLVMdev] [RFC][PATCH][OPENCL] synchronization scopes redux

Chandler Carruth chandlerc at google.com
Tue Jan 13 22:33:38 PST 2015


On Tue, Jan 13, 2015 at 10:27 PM, Sameer Sahasrabuddhe <
sameer.sahasrabuddhe at amd.com> wrote:

> Ping! We need to close on whether everyone is convinced that symbolic
> memory scopes have a significant advantage over opaque numbers. Either of
> them will be examined by optimizations using a target-implemented API. I
> personally don't think that readability in the LLVM text format is worth
> the effort, especially given that address spaces work well enough with
> opaque numbers.


I am much more comfortable with symbolic memory scopes. The reason I feel
this way is actually because there *is* a particular ordering of them that
the target will mandate. Having an ordering but having it *not* be the
order of the numbers used seems too actively confusing to me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150113/c796958b/attachment.html>


More information about the llvm-dev mailing list