i965/vec4: Do CSE, copy propagation, and DCE after opt_vector_float().

total instructions in shared programs: 5869005 -> 5868220 (-0.01%)
instructions in affected programs:     70208 -> 69423 (-1.12%)

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Matt Turner 2014-12-20 13:17:00 -08:00
parent 7463e6d61b
commit bbdd3198a5

View file

@ -1798,7 +1798,11 @@ vec4_visitor::run()
OPT(opt_register_coalesce);
} while (progress);
opt_vector_float();
if (opt_vector_float()) {
opt_cse();
opt_copy_propagation();
dead_code_eliminate();
}
if (failed)
return false;