diff options
| author | bors <bors@rust-lang.org> | 2024-07-30 03:22:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-07-30 03:22:27 +0000 |
| commit | 710ce90fbe5a4c801fa10e40d1f0bfdaee9e340b (patch) | |
| tree | 299d59815b99833ba5c7f821c62b13f9eaba84d7 /src/llvm-project | |
| parent | dba8e2d2c2890a8b9e88cbf4855ac5711337946c (diff) | |
| parent | 4f78f9fbb05145d437540181fda9bcc83d5a53e4 (diff) | |
| download | rust-710ce90fbe5a4c801fa10e40d1f0bfdaee9e340b.tar.gz rust-710ce90fbe5a4c801fa10e40d1f0bfdaee9e340b.zip | |
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`.
Diffstat (limited to 'src/llvm-project')
0 files changed, 0 insertions, 0 deletions
