diff options
author | Rob Clark <[email protected]> | 2015-04-08 11:04:37 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-04-11 11:40:15 -0400 |
commit | 49be76166b0b3c93bd2287fabc31d76d143d314c (patch) | |
tree | 3d03c23057ce84e32ac79b67e5d8731b60d7e1e6 /src/gallium/tests/graw | |
parent | 4cf4006674bd7c507688316e2033d77066c45c90 (diff) |
freedreno/ir3/sched: avoid getting stuck on addr conflicts
When we get in a scenario where we cannot schedule any more instructions
due to address register conflict, clone the instruction that writes the
address register, and switch the remaining unscheduled users for the
current address register over to the new clone.
This is simpler and more robust than the previous attempt (which tried
and sometimes failed to ensure all other dependencies of users of the
address register were scheduled first).. hint it would try to schedule
instructions that were not actually needed for any output value.
We probably need to do the same with predicate register, although so far
it isn't so heavily used so we aren't running into problems with it
(yet).
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/tests/graw')
0 files changed, 0 insertions, 0 deletions