[llvm-dev] opt with Polly doesn't find the passes
Tobias Grosser via llvm-dev
llvm-dev at lists.llvm.org
Wed Feb 3 07:41:32 PST 2016
On 02/03/2016 04:37 PM, Frank Winter wrote:
> Hi Tobias,
> I tried to invoke other passes and none of them are available, e.g.:
> ~/toolchain/install/llvm-3.8/bin/opt -load
> ~/toolchain/install/llvm-3.8/lib/libPolly.so -polly-cleanup
> opt: Unknown command line argument '-polly-cleanup'. Try:
> '/home/fwinter/toolchain/install/llvm-3.8/bin/opt -help'
> opt: Did you mean '-polly-tiling'?
I assume -polly-cleanup still shows in -help-hidden?
> I am just shooting around hoping to get a clue what's going on...
> On thing.. I recall reading the polly documentation that there was the
> option to link opt statically with the polly library which I did not
> select. But that's likely not the problem since a lot of polly options
> are apparently there.
> Out of ideas for now.
This is surprising, indeed.
The option is: LINK_POLLY_INTO_TOOLS:BOOL=ON. It might be worth giving
it a try.
What ubuntu version are you on precisely? I can try the 3.8 branch
More information about the llvm-dev