i965/fs: Don't calculate_live_intervals() in opt_algebraic().
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 3 Nov 2012 04:24:05 +0000 (21:24 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 15 Nov 2012 19:14:50 +0000 (11:14 -0800)
There's no point: opt_algebraic() doesn't use any liveness information.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs.cpp

index dc2e5a67725b27ae701bc21a0df152ef311bcc8b..f25fd16ffe8d6f7649482b03892c2665da344a6f 100644 (file)
@@ -1311,8 +1311,6 @@ fs_visitor::opt_algebraic()
 {
    bool progress = false;
 
-   calculate_live_intervals();
-
    foreach_list(node, &this->instructions) {
       fs_inst *inst = (fs_inst *)node;