[clang] [AArch64][Clang] Fix linker error for function multiversioning (PR #74358)

Pavel Iliin via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 22 09:25:55 PST 2024


================
@@ -1752,8 +1754,10 @@ static void AppendTargetClonesMangling(const CodeGenModule &CGM,
   const TargetInfo &TI = CGM.getTarget();
   if (TI.getTriple().isAArch64()) {
----------------
ilinpv wrote:

@jroelofs currently in [FMV spec](https://github.com/ARM-software/acle/blob/main/main/acle.md#function-multi-versioning):
```
The following attributes trigger the multi version code generation: __attribute__((target_version("name"))) and __attribute__((target_clones("name",...))).
These attributes can't be mixed with each other.
```

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


More information about the cfe-commits mailing list