[llvm] [InstCombine] fold `sub(zext(ptrtoint), zext(ptrtoint))` (PR #115369)

Nikolay Panchenko via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 14:23:32 PST 2024


npanchen wrote:

> I believe you're doing this now, which is still incorrect: https://alive2.llvm.org/ce/z/irt9qk

Argh... I misread `nusw` as `nuw + nsw` in gep.



https://github.com/llvm/llvm-project/pull/115369


More information about the llvm-commits mailing list