summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-08-09 18:54:24 -0700
committerKenneth Graunke <[email protected]>2013-08-19 11:29:24 -0700
commit44960ef918fff24cf7e49f4c89e845709aae3541 (patch)
treea7d7198942e78990f334c936669d77b74993fa47 /src/mesa
parent72f2249c115a6bfafc809ebb4cb78c860279e41f (diff)
i965/fs: Re-enable global copy propagation.
I believe the data flow analysis actually works now, and it should be safe to re-enable global copy propagation. It even does things now. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
index 5ea8ea574ff..74644985c70 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
@@ -494,7 +494,6 @@ fs_visitor::opt_copy_propagate()
out_acp[b]) || progress;
}
- #if 0
/* Do dataflow analysis for those available copies. */
fs_copy_prop_dataflow dataflow(mem_ctx, &cfg, out_acp);
@@ -514,7 +513,6 @@ fs_visitor::opt_copy_propagate()
progress = opt_copy_propagate_local(mem_ctx, block, in_acp) || progress;
}
- #endif
for (int i = 0; i < cfg.num_blocks; i++)
delete [] out_acp[i];