Commit 9b9cd81b by Jim Wilson

(fill_slots_from_thread): Update THREAD if it is split.

From-SVN: r8337
parent d2863d21
...@@ -3297,6 +3297,8 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely, ...@@ -3297,6 +3297,8 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely,
trial = try_split (pat, trial, 0); trial = try_split (pat, trial, 0);
if (new_thread == old_trial) if (new_thread == old_trial)
new_thread = trial; new_thread = trial;
if (thread == old_trial)
thread = trial;
pat = PATTERN (trial); pat = PATTERN (trial);
if (eligible_for_delay (insn, *pslots_filled, trial, flags)) if (eligible_for_delay (insn, *pslots_filled, trial, flags))
goto winner; goto winner;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment