Commit 334442f2 by Bernd Schmidt Committed by Bernd Schmidt

re PR rtl-optimization/78120 (If conversion no longer performed)

	PR rtl-optimization/78120
	* rtlanal.c (insn_rtx_cost): Use set_rtx_cost.

From-SVN: r242833
parent 7998af1f
2016-11-24 Bernd Schmidt <bschmidt@redhat.com> 2016-11-24 Bernd Schmidt <bschmidt@redhat.com>
PR rtl-optimization/78120 PR rtl-optimization/78120
* rtlanal.c (insn_rtx_cost): Use set_rtx_cost.
PR rtl-optimization/78120
* config/i386/i386.c (ix86_rtx_costs): Fully handle SETs. * config/i386/i386.c (ix86_rtx_costs): Fully handle SETs.
2016-11-24 Bin Cheng <bin.cheng@arm.com> 2016-11-24 Bin Cheng <bin.cheng@arm.com>
...@@ -5237,7 +5237,7 @@ insn_rtx_cost (rtx pat, bool speed) ...@@ -5237,7 +5237,7 @@ insn_rtx_cost (rtx pat, bool speed)
else else
return 0; return 0;
cost = set_src_cost (SET_SRC (set), GET_MODE (SET_DEST (set)), speed); cost = set_rtx_cost (set, speed);
return cost > 0 ? cost : COSTS_N_INSNS (1); return cost > 0 ? cost : COSTS_N_INSNS (1);
} }
......
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