yaxunl added a comment. ASTContext::getTypeInfoImpl in lib/AST/ASTContext.cpp needs to be updated for the real size of ndrange_t.
================ Comment at: lib/CodeGen/CGOpenCLRuntime.cpp:43 @@ +42,3 @@ + + return llvm::StructType::create(EleTypes, "ndrange_t"); +} ---------------- struct name should be "struct.ndrange_t" to allow library code to access it. 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