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:
parent
43c058162f
commit
03612f2527
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue