[Mesa-dev] [PATCH 25/30] i965/ir: Drop invalidate_live_intervals().

Francisco Jerez currojerez at riseup.net
Mon Mar 14 03:47:29 UTC 2016


---
 src/mesa/drivers/dri/i965/brw_fs.h                    | 1 -
 src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp   | 8 --------
 src/mesa/drivers/dri/i965/brw_shader.cpp              | 2 --
 src/mesa/drivers/dri/i965/brw_shader.h                | 1 -
 src/mesa/drivers/dri/i965/brw_vec4.h                  | 1 -
 src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp | 8 --------
 6 files changed, 21 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index ac5e8cf..7a1916d 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -142,7 +142,6 @@ public:
    bool compact_virtual_grfs();
    void assign_constant_locations();
    void demote_pull_constants();
-   void invalidate_live_intervals();
    virtual void invalidate_analysis(brw::analysis_dependency_class c);
    void calculate_register_pressure();
    void validate();
diff --git a/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp b/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
index 0d5bef2..5c1e00b 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
@@ -345,14 +345,6 @@ fs_live_variables::validate(const backend_shader *s) const
    return true;
 }
 
-void
-fs_visitor::invalidate_live_intervals()
-{
-   /* XXX -- Leave this around for the moment to keep the fs_vistor object
-    * concrete.
-    */
-}
-
 bool
 fs_live_variables::vars_interfere(int a, int b) const
 {
diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp
index 5b05725..4d701d9 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.cpp
+++ b/src/mesa/drivers/dri/i965/brw_shader.cpp
@@ -1049,8 +1049,6 @@ backend_shader::calculate_cfg()
 void
 backend_shader::invalidate_analysis(brw::analysis_dependency_class c)
 {
-   if (c)
-      invalidate_live_intervals();
 }
 
 /**
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index 47e6f02..a244f48 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.h
+++ b/src/mesa/drivers/dri/i965/brw_shader.h
@@ -83,7 +83,6 @@ public:
 
    void calculate_cfg();
 
-   virtual void invalidate_live_intervals() = 0;
    virtual void invalidate_analysis(brw::analysis_dependency_class c);
 };
 
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h
index c95e741..a21eb48 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.h
+++ b/src/mesa/drivers/dri/i965/brw_vec4.h
@@ -133,7 +133,6 @@ public:
    void move_push_constants_to_pull_constants();
    void split_uniform_registers();
    void pack_uniform_registers();
-   void invalidate_live_intervals();
    virtual void invalidate_analysis(brw::analysis_dependency_class c);
    void split_virtual_grfs();
    bool opt_vector_float();
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp b/src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp
index 665cf58..03830ab 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp
@@ -256,14 +256,6 @@ vec4_live_variables::~vec4_live_variables()
    ralloc_free(mem_ctx);
 }
 
-void
-vec4_visitor::invalidate_live_intervals()
-{
-   /* XXX -- Leave this around for the moment to keep the vec4_vistor object
-    * concrete.
-    */
-}
-
 static bool
 check_register_live_range(const vec4_live_variables *live, int ip,
                           unsigned var, unsigned n)
-- 
2.7.0



More information about the mesa-dev mailing list