[PATCH] D28058: [OpenCL] Correct ndrange_t implementation

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 11 08:27:34 PST 2017


yaxunl added a comment.

I am thinking whether we should restrict ndrange_t to be struct type only, otherwise a user could typedef anything as ndrange_t and we may lose the ndrange_t type in the IR, which will cause issue if we want to translate the IR to SPIRV.


https://reviews.llvm.org/D28058





More information about the cfe-commits mailing list