nir/load_store_vectorizer: Add unit tests for alignment handling.
authorEric Anholt <eric@anholt.net>
Fri, 21 Aug 2020 23:59:33 +0000 (16:59 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 4 Sep 2020 13:03:50 +0000 (13:03 +0000)
commita083560b09cfc3799c1c34112c0b28e29a104f5f
tree94bf26ada5b1fc0f2c81938d380f251280ad8edb
parentc6f721966205a1ec52b0461d54dea2da8db969e7
nir/load_store_vectorizer: Add unit tests for alignment handling.

The alignment upgrading logic is pretty tricky, but this gives me good
confidence that it actually works.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4710>
src/compiler/nir/tests/load_store_vectorizer_tests.cpp