Mesa (master): nir: add load/store vectorizer tests

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Nov 25 14:42:36 UTC 2019


Module: Mesa
Branch: master
Commit: 0a759c3be6c88fbdb945d823516172a9867836f8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a759c3be6c88fbdb945d823516172a9867836f8

Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Sep  2 16:09:24 2019 +0100

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 at gmail.com>
Reviewed-by: Connor Abbott <cwabbott0 at gmail.com> (v9)

---

 src/compiler/nir/meson.build                       |   12 +
 .../nir/tests/load_store_vectorizer_tests.cpp      | 1751 ++++++++++++++++++++
 2 files changed, 1763 insertions(+)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=0a759c3be6c88fbdb945d823516172a9867836f8



More information about the mesa-commit mailing list