Commit 5fa7422b by Richard Kenner

(fixup_var_refs_insns): Change from USE and CLOBBER insns to using

CALL_INSN_FUNCTION_USAGE.

From-SVN: r7244
parent 0e6362d9
......@@ -1449,19 +1449,7 @@ fixup_var_refs_insns (var, promoted_mode, unsignedp, insn, toplevel)
replacements->old
= fixup_stack_1 (replacements->old, insn);
/* We can not separate USE insns from the CALL_INSN
that they belong to. If this is a CALL_INSN, insert
the move insn before the USE insns preceding it
instead of immediately before the insn. */
if (GET_CODE (insn) == CALL_INSN)
{
insert_before = insn;
while (GET_CODE (PREV_INSN (insert_before)) == INSN
&& GET_CODE (PATTERN (PREV_INSN (insert_before))) == USE)
insert_before = PREV_INSN (insert_before);
}
else
insert_before = insn;
insert_before = insn;
/* If we are changing the mode, do a conversion.
This might be wasteful, but combine.c will
......
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