acle icon indicating copy to clipboard operation
acle copied to clipboard

[proposal][FMV] Make target_clones and target_version mixable

Open DanielKristofKiss opened this issue 1 year ago • 2 comments

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();
}

DanielKristofKiss avatar Jan 22 '24 18:01 DanielKristofKiss

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.

vhscampos avatar Jan 29 '24 13:01 vhscampos

I have created https://github.com/ARM-software/acle/pull/310 for this.

labrinea avatar Mar 20 '24 17:03 labrinea