Do not ignore costs of jump insns in combine.
* combine.c (combine_instructions): Record costs for jumps. From-SVN: r278655
This commit is contained in:
parent
cc2ccbcedd
commit
391500af19
@ -3,6 +3,8 @@
|
|||||||
* config/i386/i386.c (ix86_rtx_costs): Handle care of a PLUS in a
|
* config/i386/i386.c (ix86_rtx_costs): Handle care of a PLUS in a
|
||||||
COMPARE, representing an overflow detection.
|
COMPARE, representing an overflow detection.
|
||||||
|
|
||||||
|
* combine.c (combine_instructions): Record costs for jumps.
|
||||||
|
|
||||||
2019-11-23 Jan Hubicka <hubicka@ucw.cz>
|
2019-11-23 Jan Hubicka <hubicka@ucw.cz>
|
||||||
|
|
||||||
* cif-code.def (MAX_INLINE_INSNS_SINGLE_O2_LIMIT): Remove.
|
* cif-code.def (MAX_INLINE_INSNS_SINGLE_O2_LIMIT): Remove.
|
||||||
|
@ -1233,8 +1233,7 @@ combine_instructions (rtx_insn *f, unsigned int nregs)
|
|||||||
insn);
|
insn);
|
||||||
|
|
||||||
/* Record the current insn_cost of this instruction. */
|
/* Record the current insn_cost of this instruction. */
|
||||||
if (NONJUMP_INSN_P (insn))
|
INSN_COST (insn) = insn_cost (insn, optimize_this_for_speed_p);
|
||||||
INSN_COST (insn) = insn_cost (insn, optimize_this_for_speed_p);
|
|
||||||
if (dump_file)
|
if (dump_file)
|
||||||
{
|
{
|
||||||
fprintf (dump_file, "insn_cost %d for ", INSN_COST (insn));
|
fprintf (dump_file, "insn_cost %d for ", INSN_COST (insn));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user