[llvm] [GlobalISel] Constant-fold G_PTR_ADD with different type sizes (PR #81473)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 05:16:02 PST 2024


jayfoad wrote:

I wonder if G_PTR_ADD has the same semantics as IR getelementptr, where only the low order index-size bits of the pointer value are affected. @nikic do you know?

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


More information about the llvm-commits mailing list