i965/sched: don't calculate live intervals for post-RA scheduling
For some reason, this causes assertions on gm965 only. In any case, it's unnecessary since we don't need liveness information in the post-RA scheduler. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92744 Cc: Mark Janes <mark.a.janes@intel.com> Signed-off-by: Connor Abbott <cwabbott0@gmail.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
425d8c2578
commit
0ef8c5cb96
|
@ -1702,7 +1702,8 @@ instruction_scheduler::run(cfg_t *cfg)
|
|||
void
|
||||
fs_visitor::schedule_instructions(instruction_scheduler_mode mode)
|
||||
{
|
||||
calculate_live_intervals();
|
||||
if (mode != SCHEDULE_POST)
|
||||
calculate_live_intervals();
|
||||
|
||||
int grf_count;
|
||||
if (mode == SCHEDULE_POST)
|
||||
|
|
Loading…
Reference in New Issue