yaxunl added inline comments.
================ Comment at: lib/CodeGen/TargetInfo.cpp:7039 + if (CGM.getTarget().getTriple().getArch() != llvm::Triple::amdgcn || + (AS != Ctx.getTargetAddressSpace(LangAS::opencl_local) && AS != 0)) + return C; ---------------- arsenm wrote: > Shouldn't the 0 be checking lang as::opencl_private? clang does not define enum for opencl_private. https://reviews.llvm.org/D26196 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits