aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-09-01 15:01:23 -0700
committerMatt Turner <[email protected]>2014-09-24 09:42:46 -0700
commit49374fab5d793ed426e01f7fef82c87442c14860 (patch)
tree1d5755c949f793e7079b5dd31a5c31c47e80f399 /src/mesa/drivers/dri/i965/brw_vec4_cse.cpp
parent3fe1a84bbe608c2a9676d0f80f778e716a505421 (diff)
i965: Make instruction lists local to the bblocks.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_cse.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_cse.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp b/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp
index a7cabc8a210..28c69ca69d1 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp
@@ -184,12 +184,6 @@ vec4_visitor::opt_cse_local(bblock_t *block)
vec4_instruction *prev = (vec4_instruction *)inst->prev;
inst->remove(block);
-
- /* Appending an instruction may have changed our bblock end. */
- if (inst == block->end) {
- block->end = prev;
- }
-
inst = prev;
}
}