LGTM! (Apart from those tiny changes) ================ Comment at: lib/CodeGen/CGDecl.cpp:196 @@ +195,3 @@ + if (Ty.getAddressSpace() != LangAS::opencl_local) + Init = EmitNullConstant(D.getType()); + else ---------------- Use 'Ty' (initialised on line 179)
================ Comment at: lib/CodeGen/CGDecl.cpp:198 @@ +197,3 @@ + else + Init = llvm::UndefValue::get(getTypes().ConvertTypeForMem(D.getType())); + ---------------- Use 'LTy' (initialised on line 189) http://reviews.llvm.org/D6077 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
