mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
i965/vec4: Do separate copy followed by constant propagation after opt_vector_float().
total instructions in shared programs: 5877012 -> 5876617 (-0.01%) instructions in affected programs: 33140 -> 32745 (-1.19%) From before the commit that allows VF constant propagation (which hurt some programs) to here, the results are: total instructions in shared programs: 5877951 -> 5876617 (-0.02%) instructions in affected programs: 123444 -> 122110 (-1.08%) with no programs hurt. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
d61c519822
commit
798c094e62
1 changed files with 2 additions and 1 deletions
|
|
@ -1800,7 +1800,8 @@ vec4_visitor::run()
|
|||
|
||||
if (opt_vector_float()) {
|
||||
opt_cse();
|
||||
opt_copy_propagation();
|
||||
opt_copy_propagation(false);
|
||||
opt_copy_propagation(true);
|
||||
dead_code_eliminate();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue