Skip to content

Provide an easy way to use LLVM's Polly #39884

Description

@gnzlbg

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.
  • 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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: 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.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions