lima/gpir: Disallow moves for schedule_first nodes
authorConnor Abbott <cwabbott0@gmail.com>
Sun, 8 Sep 2019 16:48:35 +0000 (18:48 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Mon, 9 Sep 2019 10:42:19 +0000 (17:42 +0700)
commitc64f30546d87a19e2aec34e202919571e9b0c868
tree4f42f033959716cfd895541ef03d3475616ec425
parent8c7ad22adbd68bc6f4cbe907cb6a476ffe1465ba
lima/gpir: Disallow moves for schedule_first nodes

The entire point of schedule_first is that the node has to be scheduled
as soon as possible without any moves because it doesn't produce a
proper floating-point value, or its value changes depending on where you
read it. We were still introducing a move for preexp2 in some cases
though, even if it got scheduled as soon as possible, which broke some
exp() tests. Fix that.

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