re PR target/54089 ([SH] Refactor shift patterns)
authorOleg Endo <olegendo@gcc.gnu.org>
Fri, 27 Jul 2012 17:36:20 +0000 (17:36 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Fri, 27 Jul 2012 17:36:20 +0000 (17:36 +0000)
commitebe0dd380206cd6fbc294ed254b2571441844d16
treec5690e1af636ae863119469a318c3586dffb1a48
parentd03cefc12cf6decd1eda9d35a056f6f7b1e42dff
re PR target/54089 ([SH] Refactor shift patterns)

PR target/54089
* config/sh/sh.c (shiftcosts): Remove case where first operand
is a const_int.  Move COSTS_N_INSNS usage into caller ...
(sh_rtx_costs) ... here.  Return false when shiftcosts cannot be
calculated instead of MAX_COST.

From-SVN: r189917
gcc/ChangeLog
gcc/config/sh/sh.c