about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorLukas Bergdoll <lukas.bergdoll@gmail.com>2024-11-03 18:34:45 +0100
committerLukas Bergdoll <lukas.bergdoll@gmail.com>2025-02-07 15:22:42 +0100
commit4c9b9d7258773d6d0aac6711ba350d9395120e32 (patch)
tree2bce99d7b5cc800cec176cca567ecb210d1aa969 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent5ff18d0eaefd1bd9ab8ec33dab2404a44e7631ed (diff)
downloadrust-4c9b9d7258773d6d0aac6711ba350d9395120e32.tar.gz
rust-4c9b9d7258773d6d0aac6711ba350d9395120e32.zip
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 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions