aco: copy-propagate constants through p_extract_vector/p_split_vector
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 18 May 2020 18:42:40 +0000 (19:42 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Jun 2020 18:24:22 +0000 (18:24 +0000)
commit22d712273989701c91c50f98e27162aa2a1fb12f
treedbca729e029d2d540de85803dff4423ff686c7c7
parent3d6f67950d91de1dd50b096de144e504a89ea21d
aco: copy-propagate constants through p_extract_vector/p_split_vector

fossil-db (Navi, fp16 enabled):
Totals from 1 (0.00% of 127638) affected shaders:
CodeSize: 4388 -> 4392 (+0.09%)
VMEM: 465 -> 458 (-1.51%)
Copies: 54 -> 55 (+1.85%)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>
src/amd/compiler/aco_optimizer.cpp