poly_int: process_alt_operands
commite23bf764a69d8945d55c5e41cc7be2006f539e43
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jan 2018 07:18:38 +0000 (3 07:18 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jan 2018 07:18:38 +0000 (3 07:18 +0000)
tree89b96524133cfefe0f1a3fd01d2aab484841fc3d
parent5eaf31bb1aff5a4e91e7e3d235527a146b3db044
poly_int: process_alt_operands

This patch makes process_alt_operands check that the mode sizes
are ordered, so that match_reload can validly treat them as subregs
of one another.

2018-01-03  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* lra-constraints.c (process_alt_operands): Reject matched
operands whose sizes aren't ordered.
(match_reload): Refer to this check here.

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