Skip to content
Snippets Groups Projects
Commit fc025a67 authored by Matt Turner's avatar Matt Turner
Browse files

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

This reverts commit 55de1c03.

Cc: "10.2" <mesa-stable@lists.freedesktop.org>
parent ccb1ea8a
No related branches found
No related tags found
No related merge requests found
......@@ -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) ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment