freedreno: a2xx: add ir2 copy propagation
authorJonathan Marek <jonathan@marek.ca>
Wed, 19 Dec 2018 01:23:16 +0000 (20:23 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 22 Jan 2019 14:45:03 +0000 (14:45 +0000)
commit9f614c74b7f56bbc6b5963d7fafa289a642f8785
treedbd8fdf2cceabd7a1d5b60ade8c07f80459c3a75
parentc7dbf0b280734ed593d46000daa9e75c3b33b351
freedreno: a2xx: add ir2 copy propagation

Two cases:
* replacing srcs which refer to MOV instructions
* replacing MOVs used to write to exports

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
src/gallium/drivers/freedreno/Makefile.sources
src/gallium/drivers/freedreno/a2xx/ir2.c
src/gallium/drivers/freedreno/a2xx/ir2_cp.c [new file with mode: 0644]
src/gallium/drivers/freedreno/a2xx/ir2_private.h
src/gallium/drivers/freedreno/meson.build