================ @@ -4210,9 +4192,7 @@ void CodeGenModule::emitMultiVersionFunctions() { return cast<llvm::Function>(Func); }; - bool HasDefaultDecl = !FD->isTargetVersionMultiVersion(); - bool ShouldEmitResolver = - !getContext().getTargetInfo().getTriple().isAArch64(); + bool ShouldEmitResolver = !getTarget().getTriple().isAArch64(); ---------------- tmatheson-arm wrote:
```suggestion // For AArch64, a resolver is only emitted if a function marked target(default)) // is present and defined in this TU. For other architectures it is always emitted. bool ShouldEmitResolver = !getTarget().getTriple().isAArch64(); ``` https://github.com/llvm/llvm-project/pull/97761 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits