From: Francisco Jerez Date: Sun, 13 Mar 2016 08:09:16 +0000 (-0800) Subject: intel/compiler: Drop invalidate_live_intervals() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2878817197fe94fe0c20efdf2947d63576e3ea8a;p=mesa.git intel/compiler: Drop invalidate_live_intervals() Reviewed-by: Matt Turner Part-of: --- diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h index 265a1106a15..3c578d9a0cd 100644 --- a/src/intel/compiler/brw_fs.h +++ b/src/intel/compiler/brw_fs.h @@ -125,7 +125,6 @@ public: bool get_pull_locs(const fs_reg &src, unsigned *out_surf_index, unsigned *out_pull_index); void lower_constant_loads(); - void invalidate_live_intervals(); virtual void invalidate_analysis(brw::analysis_dependency_class c); void calculate_register_pressure(); void validate(); diff --git a/src/intel/compiler/brw_fs_live_variables.cpp b/src/intel/compiler/brw_fs_live_variables.cpp index f7f6de1fe76..1b7db21753d 100644 --- a/src/intel/compiler/brw_fs_live_variables.cpp +++ b/src/intel/compiler/brw_fs_live_variables.cpp @@ -364,14 +364,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/intel/compiler/brw_shader.cpp b/src/intel/compiler/brw_shader.cpp index 14f0eb311f2..ba95232e1ea 100644 --- a/src/intel/compiler/brw_shader.cpp +++ b/src/intel/compiler/brw_shader.cpp @@ -1248,8 +1248,6 @@ backend_shader::calculate_cfg() void backend_shader::invalidate_analysis(brw::analysis_dependency_class c) { - if (c) - invalidate_live_intervals(); } extern "C" const unsigned * diff --git a/src/intel/compiler/brw_shader.h b/src/intel/compiler/brw_shader.h index 2ab20a72f49..14230a10643 100644 --- a/src/intel/compiler/brw_shader.h +++ b/src/intel/compiler/brw_shader.h @@ -84,7 +84,6 @@ public: void calculate_cfg(); - virtual void invalidate_live_intervals() = 0; virtual void invalidate_analysis(brw::analysis_dependency_class c); }; diff --git a/src/intel/compiler/brw_vec4.h b/src/intel/compiler/brw_vec4.h index c0ea912a634..2d5ec655486 100644 --- a/src/intel/compiler/brw_vec4.h +++ b/src/intel/compiler/brw_vec4.h @@ -135,7 +135,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/intel/compiler/brw_vec4_live_variables.cpp b/src/intel/compiler/brw_vec4_live_variables.cpp index 8457706024f..cc3f0a5a3c4 100644 --- a/src/intel/compiler/brw_vec4_live_variables.cpp +++ b/src/intel/compiler/brw_vec4_live_variables.cpp @@ -254,14 +254,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)