From: Kenneth Graunke Date: Sat, 3 Nov 2012 04:24:05 +0000 (-0700) Subject: i965/fs: Don't calculate_live_intervals() in opt_algebraic(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d010e70a07ab4a0b24aad8c9693a7f9c680d6164;p=mesa.git i965/fs: Don't calculate_live_intervals() in opt_algebraic(). There's no point: opt_algebraic() doesn't use any liveness information. Reviewed-by: Eric Anholt --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index dc2e5a67725..f25fd16ffe8 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -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;