nir: Delete unused is_var_constant() helper

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3686>
This commit is contained in:
Kristian H. Kristensen
2020-02-03 11:47:12 -08:00
committed by Marge Bot
parent 42f7e124ca
commit de856c6170

View File

@@ -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)
{