<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 03/24/2014 03:22 PM, Matt Arsenault wrote:<br>
    <blockquote cite="mid:533085F0.3010709@amd.com" type="cite">
      <pre wrap="">On 03/24/2014 11:46 AM, Justin Holewinski wrote:
</pre>
      <blockquote type="cite">
        <pre wrap=""> Of course, this also assumes address space 0 is generic.  This is 
currently true for the in-tree targets and CUDA/OpenCL support in 
Clang, but I don't believe its a set rule anywhere.
</pre>
      </blockquote>
      <pre wrap="">
R600 wants this optimization, except the "generic" address space isn't 
0, and is instead some other currently undefined number.</pre>
    </blockquote>
    <br>
    Sounds like good justification for making this a target-independent
    pass, then.<br>
    <br>
    Jingyue, is there anything in clang now that would prevent the
    generic address space from being a number other than 0?<br>
    <br>
    <blockquote cite="mid:533085F0.3010709@amd.com" type="cite">
      <pre wrap="">

-Matt

</pre>
    </blockquote>
    <br>
  
<DIV>
<HR>
</DIV>
<DIV>This email message is for the sole use of the intended recipient(s) and may 
contain confidential information.  Any unauthorized review, use, disclosure 
or distribution is prohibited.  If you are not the intended recipient, 
please contact the sender by reply email and destroy all copies of the original 
message. </DIV>
<DIV>
<HR>
</DIV>
</body>
</html>