[44/77] Make simplify_and_const_int take a scalar_int_mode
authorRichard Sandiford <richard.sandiford@linaro.org>
Wed, 30 Aug 2017 11:15:53 +0000 (11:15 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 30 Aug 2017 11:15:53 +0000 (11:15 +0000)
commit50e2afe76060a1c2e9e8b80621e7cc4c5ae270ae
treed4f21ac066911541461679069e4314a786f59cd6
parentbf62e687b552f87c36bc5579c65a24de0b4f59b9
[44/77] Make simplify_and_const_int take a scalar_int_mode

After previous patches, top-level calls to simplify_and_const_int
always pass a scalar_int_mode.  The only call site that needs to
be updated is the recursive one in simplify_and_const_int_1,
at which point we know "varop" has a scalar integer 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 (simplify_and_const_int): Change the type of the mode
parameter to scalar_int_mode.
(simplify_and_const_int_1): Likewise.  Update recursive call.

Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r251496
gcc/ChangeLog
gcc/combine.c