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

LLC and Clang accept different flags: #88

Open
vchuravy opened this issue Jun 10, 2022 · 1 comment
Open

LLC and Clang accept different flags: #88

vchuravy opened this issue Jun 10, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@vchuravy
Copy link

llc uses a more restrictive set of cpu march, whereas clang sometimes support nicer for the user ones that then are mapped onto the llc. An example of this is:

-mcpu=power9 which is valid for clang, but llc expects pwr9 and this is what clang maps it to internally.

Some programming languages like Julia use the llc targets and not the clang ones.

So we could in archspec either map clang targets to llc or add llc as a separate compiler.

@alalazo alalazo added the enhancement New feature or request label Oct 9, 2022
@alalazo alalazo self-assigned this Oct 9, 2022
@alalazo
Copy link
Member

alalazo commented Oct 10, 2022

I think adding llc as a separate compiler would be better since, if I recall correctly, target names for llc are not supported directly by clang.

@alalazo alalazo transferred this issue from archspec/archspec Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants