aarch64: Delete unnecessary code
authorHu Jiangping <hujiangping@cn.fujitsu.com>
Tue, 4 Aug 2020 16:35:12 +0000 (17:35 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 4 Aug 2020 16:35:12 +0000 (17:35 +0100)
gcc/
* config/aarch64/aarch64.c (aarch64_if_then_else_costs): Delete
redundant extra_cost variable.

gcc/config/aarch64/aarch64.c

index 7b7faba7083cf86b16ec75abc42c183c20de4f08..b7f5bc76f1baa0e1df8d4a91281c7245ec3db973 100644 (file)
@@ -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;