[proposal][FMV] Make target_clones and target_version mixable
DanielKristofKiss opened this issue · comments
Daniel Kiss commented
as proposed llvm/llvm-project#74358 (comment) here let's make possible to mix target_clones
with target_version
.
__attribute__((target_clones("dotprod", "aes")))
int callee(void) {
return 42;
}
__attribute__((target_version("default")))
int callee(void) {
return 0;
}
int caller(void) {
return callee();
}
Victor Campos commented
Hi, thanks for your issue report.
If possible, we encourage you to contribute with a Pull Request that addresses this issue. We will be happy to review it.
Alexandros Lamprineas commented
I have created #310 for this.