i965/fs: Invalidate live intervals in passes that remove an instruction.
authorEric Anholt <eric@anholt.net>
Tue, 5 Jun 2012 20:13:33 +0000 (13:13 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 6 Jul 2012 21:20:33 +0000 (14:20 -0700)
commit2343fe9a5d1786413453e6e8e5c7700143d68a26
treee232a01d5dd34e2cb7e678fd3ed64e4d7d16759f
parent25ca9cc8236845a4be32a6f39b4a6d1664d4b403
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.
src/mesa/drivers/dri/i965/brw_fs.cpp