[clang] [FMV][AArch64] Emit mangled default version if explicitly specified. (PR #120022)

Daniel Kiss via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 18 05:19:30 PST 2024


================
@@ -11799,6 +11792,12 @@ static bool CheckMultiVersionAdditionalDecl(
 static bool CheckMultiVersionFunction(Sema &S, FunctionDecl *NewFD,
                                       bool &Redeclaration, NamedDecl *&OldDecl,
                                       LookupResult &Previous) {
+  const TargetInfo &TI = S.getASTContext().getTargetInfo();
+
+  // Abort if FMV is disabled.
----------------
DanielKristofKiss wrote:

"Abort"  might be a miss leading comment. 
```suggestion
  // Check if FMV is disabled.
```

https://github.com/llvm/llvm-project/pull/120022


More information about the cfe-commits mailing list