Make more use of subreg_offset_from_lsb
authorRichard Sandiford <richard.sandiford@linaro.org>
Thu, 24 Aug 2017 07:47:13 +0000 (07:47 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 24 Aug 2017 07:47:13 +0000 (07:47 +0000)
commitdc0c1e44766b850cf7418badc99a97a044681409
tree6f855d2a1086c19ac74a86f0dfd87f1b2704e4b5
parent973c7875842b8aa054f67f2ae958de3e5c478e9b
Make more use of subreg_offset_from_lsb

This patch makes use of the subreg_offset_from_lsb function
added by an earlier patch in the SVE series.

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

gcc/
* combine.c (make_extraction): Use subreg_offset_from_lsb.

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