================ @@ -4393,7 +4394,7 @@ llvm::Constant *CodeGenModule::GetOrCreateMultiVersionResolver(GlobalDecl GD) { // a separate resolver). std::string ResolverName = MangledName; if (getTarget().supportsIFunc()) { - if (!FD->isTargetClonesMultiVersion()) + if (!FD->isTargetClonesMultiVersion() && !FD->isTargetVersionMultiVersion()) ---------------- elizabethandrews wrote:
I didn't realize there were multiple attributes still using this mangling. A switch would make this code better but I'm ok either way. https://github.com/llvm/llvm-project/pull/81194 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits