]> git.ipfire.org Git - thirdparty/gcc.git/commit
combine.c (try_widen_shift_mode): Add COUNT, OUTER_CODE and OUTER_CONST arguments.
authorAdam Nemet <anemet@caviumnetworks.com>
Sat, 18 Jul 2009 21:52:48 +0000 (21:52 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Sat, 18 Jul 2009 21:52:48 +0000 (21:52 +0000)
commitf3ce108897e16f828b3350ac5c5be9d0ffc622c0
treeb92b316e33c2e78b466282b4c970d1aa20aef946
parent3e63dd3a366d314071d1568917c5a9887d113d68
combine.c (try_widen_shift_mode): Add COUNT, OUTER_CODE and OUTER_CONST arguments.

* combine.c (try_widen_shift_mode): Add COUNT, OUTER_CODE and
OUTER_CONST arguments.
<LSHIFTRT>: Use them to allow widening if the bits shifted in from
the new wider mode will be masked off.
(simplify_shift_const_1): Adjust calls to try_widen_shift_mode.

From-SVN: r149780
gcc/ChangeLog
gcc/combine.c