-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
To use polly with clang I just need to compile polly together with llvm and clang (just check it out and put it in the correct directory before compiling), load it as a clang plugin, and then enable -mllvm polly
.
It would be nice if:
- rustc always came with an LLVM compiled with polly
- it had an easy option to enable it from rustc that:
- loads polly's
/lib/LLVMPolly.so
as a plugin - enables it in llvm's opt:
-mllvm polly
.
- loads polly's
- had an easy way to pass polly options without having to do the
-mllvm -polly-option_name=value
dance over and over again.
This would allow to start experimenting with polly, to e.g. make sure that it gets proper aliasing information for Rust.
krk, Moxinilian, slanterns, sk1p, lovesegfault and 1 more
Metadata
Metadata
Assignees
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.