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