i965: check inst->predicate when clearing flag_live at dead code eliminate
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 22 Oct 2015 20:22:14 +0000 (22:22 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 4 Nov 2015 18:33:56 +0000 (19:33 +0100)
commitc3d7caa1e006f00c3544a79a0be7d78904ce4177
treea1945c50393eec5d5f6741177f909de7d85f4892
parentc19443bc8b68ef4697ead1998286e42bd4d8a572
i965: check inst->predicate when clearing flag_live at dead code eliminate

Detected by Matt Turner while reviewing commit
a59359ecd22154cc2b3f88bb8c599f21af8a3934

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp
src/mesa/drivers/dri/i965/brw_vec4_dead_code_eliminate.cpp