[Mesa-dev] [PATCH] i965/fs: Don't calculate_live_intervals() in opt_algebraic().

Kenneth Graunke kenneth at whitecape.org
Wed Nov 14 19:17:47 PST 2012


There's no point: opt_algebraic() doesn't use any liveness information.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
 src/mesa/drivers/dri/i965/brw_fs.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index dc2e5a6..f25fd16 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;
 
-- 
1.8.0



More information about the mesa-dev mailing list