[cfe-commits] [PATCH/RFC] Extend TBAA to handle OpenCL address spaces

Justin Holewinski justin.holewinski at gmail.com
Fri Oct 14 11:01:46 PDT 2011


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.

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.

-- 

Thanks,

Justin Holewinski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111014/2d5d2443/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang_267.patch
Type: text/x-patch
Size: 8057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111014/2d5d2443/attachment.bin>


More information about the cfe-commits mailing list