i965/fs: Move a block out of a loop in live variables setup.

This was accidentally copy-and-pasted inside.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Eric Anholt
2012-07-06 18:00:40 -07:00
parent cd5cd85a43
commit 40cd60a315

View File

@@ -192,11 +192,12 @@ fs_visitor::calculate_live_intervals()
use[reg] = ip;
}
if (inst->dst.file == GRF) {
int reg = inst->dst.reg;
}
def[reg] = MIN2(def[reg], ip);
}
if (inst->dst.file == GRF) {
int reg = inst->dst.reg;
def[reg] = MIN2(def[reg], ip);
}
ip++;