i965: Remove some dead code optimization passes.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 14 Nov 2012 04:33:33 +0000 (20:33 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 15 Nov 2012 19:14:38 +0000 (11:14 -0800)
commitc4b99c1857211a8bb2a95b81cc5ae7517f0293dc
tree6015736908e20096975da021957d55df62d97d94
parent1484faa0f480cd021b9a3a74f92b18a6e5db55b3
i965: Remove some dead code optimization passes.

The old brw_remove_grf_to_mrf_moves() pass is obsolete and replaced by
fs_visitor::compute_to_mrf().

The old brw_remove_duplicate_mrf_moves() pass is obsolete and replaced
by fs_visitor::remove_duplicate_mrf_writes().

The remaining pass, brw_set_dp4_dependency_control(), is currently
unused, but could be, so I'm leaving it for now.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_optimize.c