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

output of -C help should be more helpful #26886

Open
JeffBezanson opened this issue Apr 23, 2018 · 2 comments
Open

output of -C help should be more helpful #26886

JeffBezanson opened this issue Apr 23, 2018 · 2 comments

Comments

@JeffBezanson
Copy link
Member

We're relying on LLVM to print the list of supported CPUs and features, and as a result the output is confusing as it contains

For example, llc -mcpu=mycpu -mattr=+feature1,-feature2

For us I believe the syntax is -C cpuname,+feature1,-feature2;...;..., where ; delimits different configurations to support. Each configuration can also contain clone_all, in which case all code will be (re)generated for that architecture, or base(n) meaning we will try to share code with configuration #n (0-based I think?).

There is a comment about this in jl_init_llvm.

See #21849

@yuyichao
Copy link
Contributor

The main doc is actually here. I assume sysimg building doc is in devdoc since, well, these are mainly for people that need to compile julia.

Adding more output to -C help is fine, though I'm pretty sure I've checked LLVM source and couldn't find a way to disable llc specific cmdline hint.

@JeffBezanson
Copy link
Member Author

Yes, it would help a lot to at least add the julia syntax to the help text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants