[llvm-branch-commits] [llvm] [SDAG] Introduce inbounds flag for pointer arithmetic (PR #131862)

Eli Friedman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 31 14:34:52 PDT 2025


efriedma-quic wrote:

If we have PTRADD without a corresponding pointer type, the operand of the PTRADD is implicitly an inttoptr, which causes the problems we're discussing.  Which... the IR layer doesn't really properly preserve inttoptr operations in all circumstances, but we're trying to fix that, so I don't want to make the problem worse.

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


More information about the llvm-branch-commits mailing list