i965/fs: Invalidate live intervals in passes that remove an instruction.

Since live intervals are based on ip, removing an instruction trashes
the intervals unless we were to go do some surgery.  These happen to
usually remove a use of a grf, so it's time to recalculate, anyway.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
NOTE: This is a candidate for the 8.0 release branch.
This commit is contained in:
Eric Anholt 2012-06-05 13:13:33 -07:00
parent 25ca9cc823
commit 2343fe9a5d
1 changed files with 6 additions and 0 deletions

View File

@ -1844,6 +1844,9 @@ fs_visitor::compute_to_mrf()
}
}
if (progress)
live_intervals_valid = false;
return progress;
}
@ -1920,6 +1923,9 @@ fs_visitor::remove_duplicate_mrf_writes()
}
}
if (progress)
live_intervals_valid = false;
return progress;
}