Prazek added inline comments. ================ Comment at: lib/CodeGen/CodeGenModule.cpp:3677 @@ +3676,3 @@ +llvm::Metadata *CodeGenModule::CreateMetadataIdentifierForType(QualType T) { + llvm::Metadata *&InternalId = MetadataIdMap[T.getCanonicalType()]; + if (InternalId) ---------------- question: so You are storing distinct and normal mdnodes here. Is it faster to grap normal node from this map than to just create new one using get?
http://reviews.llvm.org/D12038 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits