Revert "i965/fs: Give up in interference check if we see a WHILE."

This reverts commit 55de1c035c.

Cc: "10.2" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
Matt Turner 2014-05-26 11:44:53 -07:00
parent ccb1ea8a15
commit fc025a6719

View file

@ -102,7 +102,7 @@ can_coalesce_vars(brw::fs_live_variables *live_intervals,
for (scan_inst = (fs_inst *)inst->next;
!scan_inst->is_tail_sentinel() && ip <= live_intervals->end[var_to];
scan_inst = (fs_inst *)scan_inst->next, ip++) {
if (scan_inst->opcode == BRW_OPCODE_WHILE)
if (scan_inst->is_control_flow())
return false;
if (scan_inst->dst.equals(inst->dst) ||