================
@@ -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())
----------------
jroelofs wrote:

`target` and the two cpu-specific ones. I'll change it to a switch.

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

Reply via email to