vc4: Optimize out silly SUBs of 0.
authorEric Anholt <eric@anholt.net>
Thu, 25 Sep 2014 04:57:06 +0000 (21:57 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 29 Sep 2014 18:33:34 +0000 (11:33 -0700)
commit76cd9955d96c1b0a13905e255571eb35b3aa2a99
treef2a21d620b6661ca69cb80d2aa45f4426b3f3113
parent64122b16ce74a3fb65269bab325c651c26ccd2d0
vc4: Optimize out silly SUBs of 0.

Drops instructions on vs-temp-array-mat4-index-col-row-wr.shader_test,
which I was looking at because it's failing to register allocate.
src/gallium/drivers/vc4/vc4_opt_algebraic.c