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 <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
out_acp[b]) || progress;
}
+ #if 0
/* Do dataflow analysis for those available copies. */
fs_copy_prop_dataflow dataflow(mem_ctx, &cfg, out_acp);
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];