i965/fs: Invalidate live intervals after copy propagation.
authorEric Anholt <eric@anholt.net>
Tue, 5 Jun 2012 20:14:38 +0000 (13:14 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 6 Jul 2012 21:20:33 +0000 (14:20 -0700)
For copy propgation, we've dropped the use of a GRF in favor of a
(probably later) use of a different GRF.  This definitely requires
invalidating intervals.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp

index bf26d86bd7c423bc9b37e69dc9dc6fd6d2d14b16..106964d4843f4beb483bd056cfb4a9d2b2425040 100644 (file)
@@ -160,5 +160,8 @@ fs_visitor::opt_copy_propagate()
 
    ralloc_free(mem_ctx);
 
+   if (progress)
+      live_intervals_valid = false;
+
    return progress;
 }