[PATCH] D158666: [Clang] Fix linker error for function multiversioning
Elizabeth Andrews via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 24 16:21:50 PDT 2023
eandrews added a comment.
aarch64 has different mangling for default functions when using target_clones. Sigh
`int __attribute__((target_clones("ls64_v+fp16", "default"))) foo_ovl(int) { return 1; }` results in `@_Z7foo_ovli._Mfp16Mls64_v` and `@_Z7foo_ovlv`. Note there is no ".default" as in other architectures.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158666/new/
https://reviews.llvm.org/D158666
More information about the cfe-commits
mailing list