[llvm] [SCEVAA] Allowing to subtract two inttoptrs with different pointer bases (PR #91453)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 12:35:55 PDT 2024
efriedma-quic wrote:
See https://reviews.llvm.org/D104806 for why getMinusSCEV works this way. I would rather not relax the current restrictions.
What happens if you make SCEVAA explicitly PtrToInt the operands to the subtraction?
https://github.com/llvm/llvm-project/pull/91453
More information about the llvm-commits
mailing list