r600g/llvm: Fix handling of MASK_WRITE instructions
authorTom Stellard <thomas.stellard@amd.com>
Mon, 30 Apr 2012 20:11:27 +0000 (16:11 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 30 Apr 2012 20:43:34 +0000 (16:43 -0400)
commit4da1fcacf1d78c5fcae9e81eaf2a9d7c8117af3e
treeb459dd3f9ee5007f842645a0fba0de3537cd4224
parent77d2780cbc00d525b25c6e625b1faeb37e3ad6d0
r600g/llvm: Fix handling of MASK_WRITE instructions

We can't delete MASK_WRITE instructions from the program, because this
will cause instructions being masked by MASK_WRITE to be marked dead and
then deleted in the dce pass.
src/gallium/drivers/radeon/AMDGPUUtil.cpp
src/gallium/drivers/radeon/R600LowerInstructions.cpp