[LLVMdev] Loads moving across barriers

Matt Arsenault arsenm2 at gmail.com
Sat Nov 9 13:39:47 PST 2013


On Nov 9, 2013, at 3:14 AM, Chandler Carruth <chandlerc at google.com> wrote:

> 
> Perhaps you're instead trying to say that with certain address spaces "noalias" (and by inference, "restrict" at the language level) has a different semantic model than other address spaces? While it's less worrisome than the first interpretation, I still don't really like it.
>  

This sounds right. With the constant address space, anything you do is OK since it’s constant. Private address space is supposed to be totally inaccessible from other workitems, so parallel modifications aren’t a concern. The others require explicit synchronization which noalias would need to be aware of.



More information about the llvm-dev mailing list