nir: Maintain the algebraic automaton's state as we work.
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 10 May 2019 14:57:45 +0000 (16:57 +0200)
committerEric Anholt <eric@anholt.net>
Tue, 26 Nov 2019 18:13:19 +0000 (10:13 -0800)
commit305d1300f9052405ad9d273b9cbda48c55faf46a
treefb691b6413d995134156cc2843b828f045169750
parent2da4a58ed92feaaab49a078bfb7b4453f9b697ba
nir: Maintain the algebraic automaton's state as we work.

In order to have nir_opt_algebraic be able to do further algebraic
work on the output of a replacement, we need to maintain the
automaton's state.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/nir/nir_search.c
src/compiler/nir/nir_search.h