Commit d90aadbb by Richard Kenner

(sched_analyze_insn): Don't set SCHED_GROUP_P for previous INSN a USE

unless it's a USE of a REG.

From-SVN: r8083
parent 0212779c
......@@ -2134,7 +2134,8 @@ sched_analyze_insn (x, insn, loop_note)
prev_dep_insn = insn;
dep_insn = PREV_INSN (insn);
while (GET_CODE (dep_insn) == INSN
&& GET_CODE (PATTERN (dep_insn)) == USE)
&& GET_CODE (PATTERN (dep_insn)) == USE
&& GET_CODE (XEXP (PATTERN (dep_insn), 0)) == REG)
{
SCHED_GROUP_P (prev_dep_insn) = 1;
......
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