From a4fb8897a2bd00eefa8a503ec17d45e791bced91 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 1 Sep 2014 10:58:11 -0700 Subject: i965: Remove now unneeded calls to calculate_cfg(). Now that nothing invalidates the CFG, we can calculate_cfg() immediately after emit_fb_writes()/emit_thread_end() and never again. Reviewed-by: Topi Pohjolainen --- src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp') diff --git a/src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp b/src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp index 268617401d5..5b7acf4de65 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp @@ -247,7 +247,6 @@ vec4_visitor::calculate_live_intervals() * The control flow-aware analysis was done at a channel level, while at * this point we're distilling it down to vgrfs. */ - calculate_cfg(); vec4_live_variables livevars(this, cfg); foreach_block (block, cfg) { -- cgit v1.2.3