pan/bi: Allow inlining constants
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 10 Mar 2020 00:32:00 +0000 (20:32 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 10 Mar 2020 19:25:59 +0000 (19:25 +0000)
commit48e50efd5de7b9ad79f89ba5183a1f45214d501d
treee735e646ed214442a0e33aa3d7fc3f20744ef967
parent929baf3f88d381313dce7883dfe827305ce55702
pan/bi: Allow inlining constants

This will allow us to optimize out the constant moves (although that
will require a DCE pass which has yet to be written).

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