about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-27 14:04:07 +0000
committerbors <bors@rust-lang.org>2022-02-27 14:04:07 +0000
commit3b1fe7e7c95e14dd8a420edf2f8a160c70211e04 (patch)
tree1104075d21653e369db1b908d13c1c0dc8343e2f /compiler/rustc_codegen_llvm/src
parentbab4c13f64b4197abc1a361796be9940ed5b3904 (diff)
parent594ea74bf0f735c7cd81a54409ab4d9005e07110 (diff)
downloadrust-3b1fe7e7c95e14dd8a420edf2f8a160c70211e04.tar.gz
rust-3b1fe7e7c95e14dd8a420edf2f8a160c70211e04.zip
Auto merge of #94084 - Mark-Simulacrum:drop-sharded, r=cjgillot
Avoid query cache sharding code in single-threaded mode

In non-parallel compilers, this is just adding needless overhead at compilation time (since there is only one shard statically anyway). This amounts to roughly ~10 seconds reduction in bootstrap time, with overall neutral (some wins, some losses) performance results.

Parallel compiler performance should be largely unaffected by this PR; sharding is kept there.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions