nir/load_store_vectorize: Use nir_iadd_imm for offsets
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 31 Mar 2020 17:40:36 +0000 (12:40 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 3 Apr 2020 20:26:54 +0000 (20:26 +0000)
commitb6273291b5646887c8488f71b2119709e15e7d0e
treed8be42b8dfca1a142a18ceb4a5967c2c840f25c6
parent04d08ea149c05e4d5dad819269d74713aac270da
nir/load_store_vectorize: Use nir_iadd_imm for offsets

This makes it capable of handling 64-bit offsets

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4367>
src/compiler/nir/nir_opt_load_store_vectorize.c