From de856c6170fbfd57f480c04069feb2fac0099060 Mon Sep 17 00:00:00 2001 From: "Kristian H. Kristensen" Date: Mon, 3 Feb 2020 11:47:12 -0800 Subject: [PATCH] nir: Delete unused is_var_constant() helper Part-of: --- src/compiler/nir/nir_loop_analyze.c | 6 ------ 1 file changed, 6 deletions(-) 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) { -- 2.30.2