Skip to content

Commit

Permalink
Auto merge of #126750 - scottmcm:less-unlikely, r=jhpratt
Browse files Browse the repository at this point in the history
Stop using `unlikely` in `strict_*` methods

The `strict_*` methods don't need (un)likely, because the `overflow_panic` calls are all `#[cold]`, [meaning](https://llvm.org/docs/LangRef.html#function-attributes) that LLVM knows any branch to them is unlikely without us needing to say so.

r? libs
  • Loading branch information
bors committed Jun 22, 2024
2 parents c38d856 + 74cf63c commit 07cbe00
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 07cbe00

Please sign in to comment.