Mesa (master): nir: Delete unused is_var_constant() helper
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Feb 4 06:25:01 UTC 2020
Module: Mesa
Branch: master
Commit: de856c6170fbfd57f480c04069feb2fac0099060
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de856c6170fbfd57f480c04069feb2fac0099060
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Mon Feb 3 11:47:12 2020 -0800
nir: Delete unused is_var_constant() helper
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3686>
---
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)
{
More information about the mesa-commit
mailing list