about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-11-09 19:06:51 +0100
committerGitHub <noreply@github.com>2020-11-09 19:06:51 +0100
commit7ac079f047ad9857a32593bc7607115183d13560 (patch)
tree2503ded9fb1b8c40df9249b733c87c1766dedca1 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent62d3a4f9c25afe5251e1ba4165aefaf90d948b91 (diff)
parent301bb123f424954cd3faee11bbbfb0605e5ae0e8 (diff)
downloadrust-7ac079f047ad9857a32593bc7607115183d13560.tar.gz
rust-7ac079f047ad9857a32593bc7607115183d13560.zip
Rollup merge of #78566 - JRF63:polly, r=Mark-Simulacrum
Enable LLVM Polly via llvm-args.

I think doing it this way is better than in #51061. Polly has other useful options and we probably don't want to create a `-Z` flag for each one of them.

![results](https://user-images.githubusercontent.com/7283601/97695555-338f7180-1adf-11eb-82bd-5130e0e6fa89.png)

[Benchmark](https://gist.github.com/JRF63/9a6268b91720958e90dbe7abffe20298)

I noticed that `-lto` seems to interfere with polly in this specific microbenchmark, as enabling it causes the perf to drop to that of non-polly builds.

Other related PRs: #75615
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions