The attached patch is a first attempt at extending TBAA to handle OpenCL address spaces.  Different metadata nodes will be created for the same type in different address spaces, giving later alias analysis passes the opportunity to detect that objects in different address spaces cannot alias.  Note that this is only valid for OpenCL, at the moment.<div>
<br></div><div>I would like to get some feedback on this patch.  If possible, I would like to commit it, or a variant of it, before the branch tonight.</div><div><br></div><div>-- <br><br><div>Thanks,</div><div><br></div>
<div>Justin Holewinski</div><br>
</div>