about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-19 21:16:09 +0100
committerGitHub <noreply@github.com>2025-02-19 21:16:09 +0100
commit59d2b102b487ba93c30df3123aa3b440e78aa35a (patch)
tree720712697269b481b0f874fbe75c58dee3479755 /compiler/rustc_codegen_llvm/src
parent82279108e1ce9cd5ec1cfa927d60d7747352a326 (diff)
parent4c9b9d7258773d6d0aac6711ba350d9395120e32 (diff)
downloadrust-59d2b102b487ba93c30df3123aa3b440e78aa35a.tar.gz
rust-59d2b102b487ba93c30df3123aa3b440e78aa35a.zip
Rollup merge of #136690 - Voultapher:use-more-explicit-and-reliable-ptr-select, r=thomcc
Use more explicit and reliable ptr select in sort impls

Using `if ...` with the intent to avoid branches can be surprising to readers and carries the risk of turning into jumps/branches generated by some future compiler version, breaking crucial optimizations.

This commit replaces their usage with the explicit and IR annotated `bool::select_unpredictable`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions