summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-08-08 13:37:49 -0700
committerRob Clark <[email protected]>2019-09-03 14:10:57 -0700
commit5ccd5871ed10ca92bfdb934832d58e92f9ab9523 (patch)
treee1a0f962374596d3bda1ef1380c40dc0d41bd234 /src/compiler
parent79a5ebe0458b189d4b83dc4aa2dc72adec550e7d (diff)
nir: remove unused constant_fold_state
Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/nir/nir_opt_constant_folding.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/compiler/nir/nir_opt_constant_folding.c b/src/compiler/nir/nir_opt_constant_folding.c
index 38d011536bb..4123bc8af6d 100644
--- a/src/compiler/nir/nir_opt_constant_folding.c
+++ b/src/compiler/nir/nir_opt_constant_folding.c
@@ -32,12 +32,6 @@
* Implements SSA-based constant folding.
*/
-struct constant_fold_state {
- void *mem_ctx;
- nir_function_impl *impl;
- bool progress;
-};
-
static bool
constant_fold_alu_instr(nir_alu_instr *instr, void *mem_ctx)
{