diff options
author | Kristian H. Kristensen <[email protected]> | 2020-02-03 11:47:12 -0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-04 06:03:52 +0000 |
commit | de856c6170fbfd57f480c04069feb2fac0099060 (patch) | |
tree | 1e29a202781d3ab6f8ef8d24c17a8c8d04910075 /src | |
parent | 42f7e124cae38dc95e219097cc23f48d24e3071a (diff) |
nir: Delete unused is_var_constant() helper
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3686>
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/nir/nir_loop_analyze.c | 6 |
1 files changed, 0 insertions, 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 @@ -200,12 +200,6 @@ is_var_alu(nir_loop_variable *var) } 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) { return var->def->parent_instr->type == nir_instr_type_phi; |