On Thu, Feb 21, 2013 at 10:47 AM, Joey Gouly <span dir="ltr"><<a href="mailto:joey.gouly@arm.com" target="_blank">joey.gouly@arm.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
  I believe this is wrong for OpenCL:<br>
  `6.3.o. Elements of a struct or union must belong to the same address space. Declaring a struct or union whose elements are in different address spaces is illegal`<br></blockquote><div><br></div><div>6.5 says that the address space qualifiers in OpenCL can only be applied to variables, and struct and union fields aren't variables, so I think this is correct there too.</div>
<div> </div><div>Patch LGTM.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  Although, I'm not sure if anyone actually uses this..<br>
<br>
<a href="http://llvm-reviews.chandlerc.com/D444" target="_blank">http://llvm-reviews.chandlerc.com/D444</a><br>
</blockquote></div><br>