projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42f7e12
)
nir: Delete unused is_var_constant() helper
author
Kristian H. Kristensen
<hoegsberg@google.com>
Mon, 3 Feb 2020 19:47:12 +0000
(11:47 -0800)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 4 Feb 2020 06:03:52 +0000
(06:03 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3686>
src/compiler/nir/nir_loop_analyze.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_loop_analyze.c
b/src/compiler/nir/nir_loop_analyze.c
index c2473421215e4a8cedce85a0647b189df4f9d3ba..c326158eda9f642c0929b5769c05c2117909c744 100644
(file)
--- 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)
{