mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 23:20:14 +01:00
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:
parent
7463e6d61b
commit
bbdd3198a5
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue