[llvm] [SCEVAA] Allowing to subtract two inttoptrs with different pointer bases (PR #91453)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 01:18:48 PDT 2024


nikic wrote:

Why was this closed? The patch looks good to me. I'd only suggest to write it in a way that either both pointers are used with ptrtoint or neither, so we can't end up with a ptr + int mix (not entirely sure whether it's possible for just one of the conversions to fail).

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


More information about the llvm-commits mailing list