i965/fs: Don't iterate between blocks with inst->next/prev.
authorMatt Turner <mattst88@gmail.com>
Tue, 2 Sep 2014 17:08:24 +0000 (10:08 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 24 Sep 2014 16:42:46 +0000 (09:42 -0700)
commitf0598d413bc8eb7ab02318f1db2dbd446a3c736c
treeb1883128adcd6e8a396f6c9a23ea5a6af8902725
parent7119712f4582b387323ecfaf0227ed070328d9e8
i965/fs: Don't iterate between blocks with inst->next/prev.

When instruction lists are per-basic block, this won't work.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_peephole_predicated_break.cpp
src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp
src/mesa/drivers/dri/i965/brw_fs_sel_peephole.cpp