ABataev added inline comments.
================ Comment at: lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp:4103 + ScheduleKind = OMPC_SCHEDULE_static; + Chunk = CGF.Builder.getIntN(CGM.getDataLayout().getTypeAllocSizeInBits( + CGF.ConvertType(S.getIterationVariable()->getType())), 1); ---------------- Use `getContext().getTypeSize(S.getIterationVariable()->getType())` Repository: rC Clang https://reviews.llvm.org/D52629 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits