diff options
author | Matt Turner <[email protected]> | 2016-11-28 13:34:55 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2016-11-29 11:53:36 -0800 |
commit | 218fec66cc6a48fed88d4a30d3d593eaf057a400 (patch) | |
tree | a8bcf3d821f4cbc7fc460781cf7ba52b813b9217 /src/mesa | |
parent | cab0952d4b8bf633658d8ecf6539a3ec4f62b9c7 (diff) |
i965/sched: Schedule trivial blocks.
In commit 45cd76e342d1e8e schedule_instructions(bblock_t *) began
setting bblock_t::cycle_count, but that function was not called on
trivial blocks.
Remove the code to skip trivial blocks so that cycle_count is set.
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp index 9d7ba3be719..b3f7e877c80 100644 --- a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp +++ b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp @@ -1694,9 +1694,6 @@ instruction_scheduler::run(cfg_t *cfg) setup_liveness(cfg); foreach_block(block, cfg) { - if (block->end_ip - block->start_ip <= 1) - continue; - if (reads_remaining) { memset(reads_remaining, 0, grf_count * sizeof(*reads_remaining)); |