diff options
author | Bernd Schmidt <bernds_cb1@t-online.de> | 2019-11-24 13:11:55 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2019-11-24 13:11:55 +0000 |
commit | 391500af1932e696a007b59d667079325d32d631 (patch) | |
tree | 8209d4d1956bc1b36b822ee0d498bcb6c438a392 /gcc/combine.c | |
parent | cc2ccbcedd20d4d800b5e1a79c98f2c3ad6c9bf2 (diff) | |
download | gcc-391500af1932e696a007b59d667079325d32d631.zip gcc-391500af1932e696a007b59d667079325d32d631.tar.gz gcc-391500af1932e696a007b59d667079325d32d631.tar.bz2 |
Do not ignore costs of jump insns in combine.
* combine.c (combine_instructions): Record costs for jumps.
From-SVN: r278655
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index a9721eb..f480633 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -1233,8 +1233,7 @@ combine_instructions (rtx_insn *f, unsigned int nregs) insn); /* 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) { fprintf (dump_file, "insn_cost %d for ", INSN_COST (insn)); |