pan/bi: Add move lowering pass
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 19 Mar 2020 21:21:49 +0000 (17:21 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sun, 22 Mar 2020 03:32:35 +0000 (03:32 +0000)
commit50d3f4df452d870858ed5165eb917921273f241f
tree0e48960d52f3a79ca5ae403db287704b2061d49f
parent58a51c49bbf48e92a78355401a07fd3870c1746c
pan/bi: Add move lowering pass

We need ALU mostly scalarized, but we get vector moves created from
lower_vec_to_mov so let's scalarize that ourselves rather than bother
NIR.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4276>
src/panfrost/bifrost/bifrost_compile.c