yaxunl added inline comments. ================ Comment at: lib/CodeGen/CGOpenCLRuntime.cpp:43 @@ +42,3 @@ + + return llvm::StructType::create(EleTypes, "ndrange_t"); +} ---------------- yaxunl wrote: > struct name should be "struct.ndrange_t" to allow library code to access it. Sorry, should be "struct.__ndrange_t" to avoid conflict with builtin type ndrange_t.
Repository: rL LLVM https://reviews.llvm.org/D23086 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits