nir: add load/store vectorizer tests
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 2 Sep 2019 15:09:24 +0000 (16:09 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 25 Nov 2019 13:59:11 +0000 (13:59 +0000)
commit0a759c3be6c88fbdb945d823516172a9867836f8
treeb201f52c47f0387645c5f4426a6448f220de227a
parentce9205c03bd20d26af23ca891e97a9f848a612d1
nir: add load/store vectorizer tests

v7: run nir_opt_algebraic
v9: rework the callback function
v9: update alignment on all loads/stores, even if they're not vectorized
v10: add tests for 64-bit offsets
v10: add tests for signed offsets

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com> (v9)
src/compiler/nir/meson.build
src/compiler/nir/tests/load_store_vectorizer_tests.cpp [new file with mode: 0644]