Skip to content

Polly plugin not auto-loaded #44346

@berolinux

Description

@berolinux
Bugzilla Link 45001
Resolution FIXED
Resolved on Feb 26, 2020 11:03
Version 10.0
OS Linux
Blocks #43900
CC @zmodem,@Meinersbur,@slacka,@serge-sans-paille
Fixed by commit(s) 6369b9b

Extended Description

In a recent 10.0 branch snapshot build with polly enabled, trying to use polly the way it is described in the polly man page doesn't work:

$ clang -O3 -mllvm -polly test.c
clang (LLVM option parsing): Unknown command line argument '-polly'. Try: 'clang (LLVM option parsing) --help'
clang (LLVM option parsing): Did you mean '--color'?

The problem is that the plugin isn't loaded automatically -- loading the plugin manually "fixes" it.

$ clang -Xclang -load -Xclang LLVMPolly.so -O3 -mllvm -polly ~/test.c
[works]

Either autoload should be restored, or the polly man page should be updated to mention the plugin needs to be loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions