[cfe-commits] [PATCH] OpenCL error for elements in a struct with different addr spaces

Tanya Lattner lattner at apple.com
Wed Jun 13 13:13:11 PDT 2012


OpenCL does not allow elements of a struct to be in different address spaces. The attached patch checks for this and throws an error. It includes a test case.

Please review.

-Tanya

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffAddrSpace.patch
Type: application/octet-stream
Size: 2148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120613/853d5af6/attachment.obj>


More information about the cfe-commits mailing list