public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-2556] aarch64: Delete unnecessary code
@ 2020-08-04 16:35 Richard Sandiford
  0 siblings, 0 replies; only message in thread
From: Richard Sandiford @ 2020-08-04 16:35 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:03c547d6659cbd3dec594aa801d94f68305c3652

commit r11-2556-g03c547d6659cbd3dec594aa801d94f68305c3652
Author: Hu Jiangping <hujiangping@cn.fujitsu.com>
Date:   Tue Aug 4 17:35:12 2020 +0100

    aarch64: Delete unnecessary code
    
    gcc/
            * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Delete
            redundant extra_cost variable.

Diff:
---
 gcc/config/aarch64/aarch64.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 7b7faba7083..b7f5bc76f1b 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -11780,8 +11780,6 @@ aarch64_if_then_else_costs (rtx op0, rtx op1, rtx op2, int *cost, bool speed)
 	  if (speed)
 	    {
 	      machine_mode mode = GET_MODE (XEXP (op1, 0));
-	      const struct cpu_cost_table *extra_cost
-		= aarch64_tune_params.insn_extra_cost;
 
 	      if (GET_MODE_CLASS (mode) == MODE_INT)
 		*cost += extra_cost->alu.arith;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-04 16:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04 16:35 [gcc r11-2556] aarch64: Delete unnecessary code Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).