[45/77] Make extract_left_shift take a scalar_int_mode
commit3dae54b308bcc6fac66eb94f427ac9b6b5fd1111
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:16:05 +0000 (30 11:16 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:16:05 +0000 (30 11:16 +0000)
tree512d58f6671f012ac6c0cd6ca0eb77879a520821
parent4e49b2be1e9902688d9f0567889854c2f0b22218
[45/77] Make extract_left_shift take a scalar_int_mode

This patch passes the mode of the shifted value to extract_left_shift
and updates the only caller so that the mode is a scalar_int_mode.

2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* combine.c (extract_left_shift): Add a mode argument and update
recursive calls.
(make_compound_operation_int): Change the type of the mode parameter
to scalar_int_mode and update the call to extract_left_shift.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251497 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c