r600g: optimize away CF_INST_POP
authorChristian König <deathsimple@vodafone.de>
Mon, 13 Dec 2010 23:43:53 +0000 (00:43 +0100)
committerChristian König <deathsimple@vodafone.de>
Wed, 12 Jan 2011 18:31:36 +0000 (19:31 +0100)
commit8813842121d46d1be476807c98b0ba0b771f0c91
tree35bde640f8de3fec2c3773587cc3df2ead3a664e
parent052b9e8fab2e7deddf7f287d63c45aa938e5ec67
r600g: optimize away CF_INST_POP

If last instruction is an CF_INST_ALU we don't need to emit an
additional CF_INST_POP for stack clean up after an IF ELSE ENDIF.
src/gallium/drivers/r600/eg_asm.c
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_shader.c