1
Fork 0
rust/compiler/rustc_hir_analysis/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
..
check Auto merge of #128250 - Amanieu:select_unpredictable, r=nikic 2024-07-30 03:22:27 +00:00
coherence Reformat use declarations. 2024-07-29 08:26:52 +10:00
collect Reformat use declarations. 2024-07-29 08:26:52 +10:00
errors Reformat use declarations. 2024-07-29 08:26:52 +10:00
hir_ty_lowering Reformat use declarations. 2024-07-29 08:26:52 +10:00
impl_wf_check Reformat use declarations. 2024-07-29 08:26:52 +10:00
outlives Reformat use declarations. 2024-07-29 08:26:52 +10:00
variance Reformat use declarations. 2024-07-29 08:26:52 +10:00
autoderef.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
bounds.rs Add constness to TraitDef 2024-07-03 15:37:34 +00:00
check_unused.rs Remove LintDiagnostic::msg 2024-05-23 04:08:35 +02:00
collect.rs Rollup merge of #128174 - compiler-errors:trait-alias-marker, r=oli-obk 2024-07-29 17:46:42 +02:00
constrained_generic_params.rs Auto merge of #125076 - compiler-errors:alias-term, r=lcnr 2024-05-13 22:20:43 +00:00
errors.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
hir_wf_check.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
impl_wf_check.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lib.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00