From: Kristian H. Kristensen Date: Mon, 3 Feb 2020 19:47:12 +0000 (-0800) Subject: nir: Delete unused is_var_constant() helper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de856c6170fbfd57f480c04069feb2fac0099060;p=mesa.git nir: Delete unused is_var_constant() helper Part-of: --- diff --git a/src/compiler/nir/nir_loop_analyze.c b/src/compiler/nir/nir_loop_analyze.c index c2473421215..c326158eda9 100644 --- a/src/compiler/nir/nir_loop_analyze.c +++ b/src/compiler/nir/nir_loop_analyze.c @@ -199,12 +199,6 @@ is_var_alu(nir_loop_variable *var) return var->def->parent_instr->type == nir_instr_type_alu; } -static inline bool -is_var_constant(nir_loop_variable *var) -{ - return var->def->parent_instr->type == nir_instr_type_load_const; -} - static inline bool is_var_phi(nir_loop_variable *var) {