llvm-mingw icon indicating copy to clipboard operation
llvm-mingw copied to clipboard

Missing Polly?

Open ghost opened this issue 2 years ago • 2 comments

libPolly.so does not seem to exist, which prevents Polly optimization from being enabled

ghost avatar Jun 14 '23 23:06 ghost

Indeed, polly isn't enabled in the builds here.

Overall, the philosophy of llvm-mingw isn't to enable everything that possibly could be useful, but a pragmatic tradeoff between effort/overhead and actual benefit.

For Polly, I'm not familiar with exactly what optimizations it brings and where they would make a difference, while it afaik adds some levels of complexity (including external dependencies) to the build.

mstorsjo avatar Jun 15 '23 06:06 mstorsjo

Sorry for only replying now. polly needs to manually add CFLAGS to have an effect, so by default polly doesn't have a negative effect. Not sure what external dependencies are generated, Polly should be a built-in LLVM item, same as lld. Currently it is not possible to find any pre-compiled LLVM toolchain with Polly enabled (-DLLVM_POLLY_LINK_INTO_TOOLS=ON), and for that one has to spend hours compiling it, it would be convenient if llvm-mingw would provide Polly.

ghost avatar Sep 05 '23 22:09 ghost