You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since rust-lang/rust#120370 `#[cold]`
affects branch weights in the backend (again?). Re-implement
`likely` and `unlikely` in terms of a `#[cold]` function.
You can verify that the LLVM IR in [this godbolt link](https://godbolt.org/z/n3v7hsMqK)
contains a `branch_weights` metadata.
These were removed in rust-lang@d677fd4.
0 commit comments