about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-06-28 06:15:39 +0800
committerGitHub <noreply@github.com>2018-06-28 06:15:39 +0800
commit1ebd9adef4e65deb6f34d99b516c592cb9a06b38 (patch)
treeef2eeb1da4c7b91ea8093ecbb8fa46d12a45e22f /src/rustllvm/PassWrapper.cpp
parent63531f515d74e20806454961fd5d05a7f1cce354 (diff)
parenta693c9206bd8c6bb69979de7082977444b9309d0 (diff)
downloadrust-1ebd9adef4e65deb6f34d99b516c592cb9a06b38.tar.gz
rust-1ebd9adef4e65deb6f34d99b516c592cb9a06b38.zip
Rollup merge of #51658 - oli-obk:unregress_perf, r=nikomatsakis
Only do sanity check with debug assertions on

r? @nnethercote

I'm slighty confused. These changes address code that the `unused-warnings` benchmark doesn't go through, yet I see a 5% improvement to nightly on the `check` run, and no improvement on the other runs.

Maybe this change allows unrelated code in the same function to be better optimized?
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions