From 3c68662bb1d41727b6c53fd58868cdcfe6a98492 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 9 Aug 2013 18:51:05 -0700 Subject: i965/fs: Skip global copy propagation step. The dataflow analysis used for global copy propagation is severely broken, and I believe it doesn't actually do anything. Fixing it will require a lot of changes, each of which might break things. Once all the fixes land, we can re-enable this. Signed-off-by: Kenneth Graunke Reviewed-by: Paul Berry --- src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp') 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 61b2617a9e0..ddf21df5d28 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp @@ -448,6 +448,7 @@ 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); @@ -467,6 +468,7 @@ 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]; -- cgit v1.2.3