Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[proposal][FMV] Make target_clones and target_version mixable #291

Closed
DanielKristofKiss opened this issue Jan 22, 2024 · 2 comments · Fixed by #310
Closed

[proposal][FMV] Make target_clones and target_version mixable #291

DanielKristofKiss opened this issue Jan 22, 2024 · 2 comments · Fixed by #310
Labels

Comments

@DanielKristofKiss
Copy link
Contributor

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();
}
@vhscampos
Copy link
Member

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.

@labrinea
Copy link
Contributor

I have created #310 for this.

@vhscampos vhscampos linked a pull request Jul 15, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants