From 2878817197fe94fe0c20efdf2947d63576e3ea8a Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Sun, 13 Mar 2016 00:09:16 -0800 Subject: [PATCH] intel/compiler: Drop invalidate_live_intervals() Reviewed-by: Matt Turner Part-of: --- src/intel/compiler/brw_fs.h | 1 - src/intel/compiler/brw_fs_live_variables.cpp | 8 -------- src/intel/compiler/brw_shader.cpp | 2 -- src/intel/compiler/brw_shader.h | 1 - src/intel/compiler/brw_vec4.h | 1 - src/intel/compiler/brw_vec4_live_variables.cpp | 8 -------- 6 files changed, 21 deletions(-) diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h index 265a110..3c578d9 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 f7f6de1..1b7db21 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 14f0eb3..ba95232 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 2ab20a7..14230a1 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 c0ea912..2d5ec65 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 8457706..cc3f0a5 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) -- 2.7.4