i965: Improve dead control flow elimination.
authorMatt Turner <mattst88@gmail.com>
Tue, 15 Jul 2014 22:29:29 +0000 (15:29 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 24 Jul 2014 18:27:43 +0000 (11:27 -0700)
commitac2acf04f750a84fc6381b6efacfe1bbac61aa4d
treef211083c73cffe44f808a58d12d8d13fb082626c
parent0ddc28b026688df79e54d3af1d7914ff04b12fed
i965: Improve dead control flow elimination.

... to eliminate an ELSE instruction followed immediately by an ENDIF.

instructions in affected programs:     704 -> 700 (-0.57%)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp