Files
rust/library/core/src
bors 710ce90fbe Auto merge of #128250 - Amanieu:select_unpredictable, r=nikic
Add `select_unpredictable` to force LLVM to use CMOV

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-30 03:22:27 +00:00
..
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-02-13 12:04:44 +01:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-26 13:26:33 +01:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-26 13:26:33 +01:00
2024-07-29 08:26:52 +10:00
2024-07-29 17:50:12 +01:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-26 13:26:33 +01:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-03-07 07:49:22 +01:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2023-04-16 07:20:26 +00:00
2024-07-26 13:26:33 +01:00
2024-07-25 18:46:07 -04:00
2024-07-26 13:26:33 +01:00
2024-07-04 22:05:00 +08:00
2024-06-11 15:47:00 +02:00
2024-07-26 13:26:33 +01:00
2024-07-29 08:26:52 +10:00
2024-07-26 13:26:33 +01:00
2024-07-29 17:50:12 +01:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-26 13:26:33 +01:00
2024-04-08 11:57:17 +00:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-26 13:26:33 +01:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00