Skip to content

LLC and Clang accept different flags: #88

Description

@vchuravy

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions