Commit 03612f25 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): Revert previous change.

From-SVN: r242908
parent 43c05816
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
......@@ -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);
}
......
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