freedreno: a2xx: add ir2 copy propagation

Graphics / Mesa 3D Graphics Library / Mesa - Jonathan Marek [marek.ca] - 22 January 2019 14:45 EST

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

9f614c74b7 freedreno: a2xx: add ir2 copy propagation
src/gallium/drivers/freedreno/Makefile.sources | 1 +
src/gallium/drivers/freedreno/a2xx/ir2.c | 6 +
src/gallium/drivers/freedreno/a2xx/ir2_cp.c | 225 +++++++++++++++++++++++
src/gallium/drivers/freedreno/a2xx/ir2_private.h | 3 +
src/gallium/drivers/freedreno/meson.build | 1 +
5 files changed, 236 insertions(+)

Upstream: cgit.freedesktop.org


  • Share