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

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 05:20:30 PST 2024


Pierre-vh wrote:

> You should check the DataLayout for nonintegral address spaces

I just noticed it's checked by the caller. That function isn't called for G_PTR_ADD for non-integral AS

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


More information about the llvm-commits mailing list