rust/library/core
Amanieu d'Antras 4f78f9fbb0 Force LLVM to use CMOV for binary search
Since https://reviews.llvm.org/D118118, LLVM will no longer turn CMOVs
into branches if it comes from a `select` marked with an `unpredictable`
metadata attribute.

This PR introduces `core::intrinsics::select_unpredictable` which emits
such a `select` and uses it in the implementation of `binary_search_by`.
2024-07-28 17:24:57 +01:00
..
benches Write char::DebugEscape sequences using write_str 2024-05-20 10:04:44 +02:00
src Force LLVM to use CMOV for binary search 2024-07-28 17:24:57 +01:00
tests CStr: derive PartialEq, Eq; add test for Ord 2024-07-25 14:18:40 +03:00
Cargo.toml Cleanup bootstrap check-cfg 2024-06-27 11:30:03 +02:00