about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-02 07:11:15 +0000
committerbors <bors@rust-lang.org>2022-10-02 07:11:15 +0000
commitc2590e6e892cce1105cc57b480aa07a51ae95fe5 (patch)
tree09f32f38393a367fa6ce51c1d7a21e3acd6b24d5 /compiler/rustc_codegen_gcc
parent47b2eee1737cae830c4194858a5e8b8acaf2678b (diff)
parentc7af338e6fa95dd9877a19be74b94f471233d75b (diff)
downloadrust-c2590e6e892cce1105cc57b480aa07a51ae95fe5.tar.gz
rust-c2590e6e892cce1105cc57b480aa07a51ae95fe5.zip
Auto merge of #102535 - scottmcm:optimize-split-at-partition-point, r=thomcc
Tell LLVM that `partition_point` returns a valid fencepost

This was already done for a successful `binary_search`, but this way `partition_point` can get similar optimizations.

Demonstration that nightly can't do this optimization today, and leaves in the panicking path: <https://play.rust-lang.org/?version=nightly&mode=release&edition=2021&gist=e1074cd2faf5f68e49cffd728ded243a>

r? `@thomcc`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions