[llvm-branch-commits] [GISelValueTracking] Use representation size for G_PTRTOINT src width (PR #139608)

Alexander Richardson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri May 16 13:34:57 PDT 2025


arichardson wrote:

The current behaviour is definitely buggy since we lower G_PTRTOINT as a COPY node, but assume that it zeroes the upper bits for ptr addrspace(8). I think this patch is sufficient to prevent that issue.

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


More information about the llvm-branch-commits mailing list