[PATCH] D23086: [OpenCL] Generate concrete struct type for ndrange_t
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 12 13:37:38 PDT 2016
yaxunl added a comment.
Actually we need to assume ndrange_t is a user defined typedef instead of struct due to the way its used in the spec, e.g.
void f(ndrange_t x);
instead of
void f(struct ndrange_t x);
Then it may be a little bit tricky to decide whether a type is ndrange_t type. Any suggestions?
Repository:
rL LLVM
https://reviews.llvm.org/D23086
More information about the cfe-commits
mailing list