commit | 7e55f0e17dfc11717513fee1f62772de49eddb66 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Mon Oct 19 10:38:16 2020 +1000 |
committer | Marge Bot <eric+marge@anholt.net> | Mon Oct 19 19:32:22 2020 +0000 |
tree | 5825c9c448a6c2554a2e69ccfc1854c8f35d62dd | |
parent | aca31baafc09634d69134d7ccbdfe6d426cbbbff [diff] |
clover/nir: add a constant folding pass before lowering mem const If we lower mem constants first, then direct array accesses to constants never get lowered, so do a constant fold pass first to remove direct const array accesses. Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7209>