vc4: Split two notions of instructions having side effects.
authorEric Anholt <eric@anholt.net>
Sat, 10 Jan 2015 01:57:16 +0000 (14:57 +1300)
committerEric Anholt <eric@anholt.net>
Sat, 10 Jan 2015 02:24:46 +0000 (15:24 +1300)
commitc772c92153fdcd4ba4920b7ef1745ce83b09603b
treec674f7ce50d3c071c116d38441952e08d8af2bce
parenta58ae83882b3ad3ecb53271f42cf1fd8f9c2907c
vc4: Split two notions of instructions having side effects.

Some ops can't be DCEd, while some of the ops that are just important due
to the args they have can be.
src/gallium/drivers/vc4/vc4_opt_cse.c
src/gallium/drivers/vc4/vc4_opt_dead_code.c
src/gallium/drivers/vc4/vc4_opt_vpm_writes.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h