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
Auto merge of rust-lang#122282 - DianQK:simplify_ub_check, r=<try>
Eliminate `UbCheck` for non-standard libraries
Since only core and std are prebuilt crates, I think it's only necessary to keep UB checks for them.
`mir-opt` may not optimize some code due to `UbCheck`.
In more complex cases, I'm also not sure that LLVM utilizes `assume` correctly.
r? saethlin
0 commit comments