vc4: Put dead writes into the NOP register when generating code.
authorEric Anholt <eric@anholt.net>
Tue, 23 Sep 2014 20:20:29 +0000 (13:20 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 23 Sep 2014 20:51:42 +0000 (13:51 -0700)
commit9dbfca10a306fe5ae5b81845cb8f4d16022d6790
tree3dbdaa61180c9a0f991444f54ab3704e56fddb92
parentd2b58240b4afe314290af951997d705c5714d887
vc4: Put dead writes into the NOP register when generating code.

They still provide register pressure since I haven't made a special class
for them, but since they're only live for one instruction it probably
doesn't matter.

This improves the readability of QPU assembly.
src/gallium/drivers/vc4/vc4_register_allocate.c