r600g/sb: improve handling of KILL instructions
authorVadim Girlin <vadimgirlin@gmail.com>
Sun, 26 May 2013 21:37:54 +0000 (01:37 +0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Sun, 26 May 2013 21:45:07 +0000 (01:45 +0400)
commit63d09a0cb74f75e7e09773d560a22452c107647f
treecf6cf51804696ee17172ee8fcaa58b645dce7770
parent880f435a7e1a658b7fb81cc01f47bf5af30a655a
r600g/sb: improve handling of KILL instructions

This patch improves handling of unconditional KILL instructions inside
the conditional blocks, uncovering more opportunities for if-conversion.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/sb/sb_expr.h
src/gallium/drivers/r600/sb/sb_if_conversion.cpp
src/gallium/drivers/r600/sb/sb_pass.h