Skip to content

LLC and Clang accept different flags: #88

@vchuravy

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.

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