Mesa (master): i965/fs: Don't calculate_live_intervals() in opt_algebraic() .

Kenneth Graunke kwg at kemper.freedesktop.org
Thu Nov 15 19:16:29 UTC 2012


Module: Mesa
Branch: master
Commit: d010e70a07ab4a0b24aad8c9693a7f9c680d6164
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d010e70a07ab4a0b24aad8c9693a7f9c680d6164

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Nov  2 21:24:05 2012 -0700

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 <eric at anholt.net>

---

 src/mesa/drivers/dri/i965/brw_fs.cpp |    2 --
 1 files changed, 0 insertions(+), 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;
 




More information about the mesa-commit mailing list