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

PR rtl-optimization/78120
	* rtlanal.c (insn_rtx_cost): Revert previous change.

From-SVN: r242908
This commit is contained in:
Bernd Schmidt 2016-11-28 08:59:01 +00:00 committed by Bernd Schmidt
parent 43c058162f
commit 03612f2527
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-11-28 Bernd Schmidt <bschmidt@redhat.com>
PR rtl-optimization/78120
* rtlanal.c (insn_rtx_cost): Revert previous change.
2016-11-28 Georg-Johann Lay <avr@gjlay.de>
PR 41076

View File

@ -5237,7 +5237,7 @@ insn_rtx_cost (rtx pat, bool speed)
else
return 0;
cost = set_rtx_cost (set, speed);
cost = set_src_cost (SET_SRC (set), GET_MODE (SET_DEST (set)), speed);
return cost > 0 ? cost : COSTS_N_INSNS (1);
}