Commit 0ec5af39 by Bin Cheng Committed by Bin Cheng

Revert r247509 2017-05-02 Bin Cheng <bin.cheng@arm.com>

	Revert r247509
	2017-05-02  Bin Cheng  <bin.cheng@arm.com>
	* rtlanal.c (rtx_cost): Handle TRUNCATE between tieable modes.

From-SVN: r247541
parent 45d93414
2017-05-03 Bin Cheng <bin.cheng@arm.com>
Revert r247509
2017-05-02 Bin Cheng <bin.cheng@arm.com>
* rtlanal.c (rtx_cost): Handle TRUNCATE between tieable modes.
2017-05-03 Richard Sandiford <richard.sandiford@linaro.org>
* tree-data-ref.h (SUB_CONFLICTS_IN_A): Wrap SUB argument in brackets.
......
......@@ -4164,14 +4164,6 @@ rtx_cost (rtx x, machine_mode mode, enum rtx_code outer_code,
return COSTS_N_INSNS (2 + factor);
break;
case TRUNCATE:
/* If we can tie these modes, make this cheap. */
if (MODES_TIEABLE_P (mode, GET_MODE (SUBREG_REG (x))))
{
total = 0;
break;
}
/* FALLTHRU */
default:
if (targetm.rtx_costs (x, mode, outer_code, opno, &total, speed))
return total;
......
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