lima/gpir: Ignore unscheduled successors in can_use_complex()
authorConnor Abbott <cwabbott0@gmail.com>
Mon, 2 Sep 2019 07:48:54 +0000 (09:48 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Mon, 9 Sep 2019 10:40:58 +0000 (17:40 +0700)
commit63acdb5ce68b77443bed06729d109145ca8dfa77
tree126482df0ea40e511faf637c44346efe546ef17d
parentee8cc90e553b56e8fbab5ecbaa5b1476221401d1
lima/gpir: Ignore unscheduled successors in can_use_complex()

The point of the function is to avoid creating a complex move which is
used by certain slots in the next instruction, but unscheduled
successors will never be in the next instruction. Found while debugging
a crash that the previous commit fixed.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/ir/gp/scheduler.c