lima/ppir: add better liveness analysis
authorVasily Khoruzhick <anarsoul@gmail.com>
Mon, 19 Aug 2019 06:34:22 +0000 (23:34 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Sat, 24 Aug 2019 15:17:31 +0000 (08:17 -0700)
commit1cdf585613da37f23d737ac4713af0484d4a30d7
tree3ef9bd3a0b93f95d49c7b9fbebe74ff3505f63fa
parentd30a98c89635316bd445264cafb18283a1eb83df
lima/ppir: add better liveness analysis

Add better liveness analysis that was modelled after one in vc4.
It uses live ranges and is aware of multiple blocks which is prerequisite
for adding CF support

Tested-by: Andreas Baierl <ichgeh@imkreisrum.de>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/Android.mk
src/gallium/drivers/lima/ir/pp/liveness.c [new file with mode: 0644]
src/gallium/drivers/lima/ir/pp/ppir.h
src/gallium/drivers/lima/ir/pp/regalloc.c
src/gallium/drivers/lima/meson.build