acle
acle copied to clipboard
[proposal][FMV] Make target_clones and target_version mixable
as proposed https://github.com/llvm/llvm-project/pull/74358#discussion_r1462172419 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();
}
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.
I have created https://github.com/ARM-software/acle/pull/310 for this.