On AArch64 for function multiversioning target_version/target_clones attributes should be used. The patch fixes the defect allowing target attribute to cause multiversioning.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Sema/SemaDecl.cpp | ||
---|---|---|
11544 | I find the attribute target_clones/target_version also not be used to generate multiversioning function? https://godbolt.org/z/cYWsbrPn9 |
clang/lib/Sema/SemaDecl.cpp | ||
---|---|---|
11544 | Function multiversioning depends on compiler-rt library, specify --rtlib=compiler-rt to make it work. |
I find the attribute target_clones/target_version also not be used to generate multiversioning function? https://godbolt.org/z/cYWsbrPn9
so it is not support on AArch64 ?