projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7463e6d
)
i965/vec4: Do CSE, copy propagation, and DCE after opt_vector_float().
author
Matt Turner
<mattst88@gmail.com>
Sat, 20 Dec 2014 21:17:00 +0000
(13:17 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Mon, 29 Dec 2014 18:08:18 +0000
(10:08 -0800)
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>
src/mesa/drivers/dri/i965/brw_vec4.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4.cpp
b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 4a0f5120c10ddea73f4a596d3ad1bfadd0779060..296223ccdd0878e2d2dfd5720769b54128a30b27 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4.cpp
@@
-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;