rust/compiler/rustc_span
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
..
src Force LLVM to use CMOV for binary search 2024-07-28 17:24:57 +01:00
Cargo.toml rustc_span: derivative -> derive-where 2024-07-12 21:37:43 +03:00