Tell LLVM that the negation in `<*const T>::sub` cannot overflow
Today it's just `sub` <https://rust.godbolt.org/z/8EzEPnMr5>; with this PR it's `sub nsw`.
Showing
tests/codegen/ptr-arithmetic.rs
0 → 100644
想要评论请 注册 或 登录