i965/fs: Extend predicated break pass to predicate WHILE.
authorMatt Turner <mattst88@gmail.com>
Thu, 4 Sep 2014 20:25:15 +0000 (13:25 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 1 Oct 2014 00:09:34 +0000 (17:09 -0700)
commitd13bcdb3a9f9b43010fe8cbb4efbfe7eec0b705b
tree059f377ec64b2f8ff543e0825cca4e8a057a5fa1
parent6e7d36fd2c1185ae1b84b81b8630472ceb87356d
i965/fs: Extend predicated break pass to predicate WHILE.

Helps a handful of programs in Serious Sam 3 that use do-while loops.

instructions in affected programs:     16114 -> 16075 (-0.24%)

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_fs_peephole_predicated_break.cpp