diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-08-30 11:15:28 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-08-30 11:15:28 +0000 |
commit | 0b73246f1a11354037b6bb069ab1056f121e34fd (patch) | |
tree | abbdf6159fb23149e5bcb1c2ed38028bb4c98fa6 /gcc/expr.c | |
parent | 5602f58c633e51b03b5f18bbd65924b4b842d075 (diff) | |
download | gcc-0b73246f1a11354037b6bb069ab1056f121e34fd.zip gcc-0b73246f1a11354037b6bb069ab1056f121e34fd.tar.gz gcc-0b73246f1a11354037b6bb069ab1056f121e34fd.tar.bz2 |
[41/77] Split scalar integer handling out of force_to_mode
force_to_mode exits partway through for modes that aren't scalar
integers. This patch splits the remainder of the function out
into a subroutine, force_int_to_mode, so that the modes from that
point on can have type scalar_int_mode.
The patch also makes sure that xmode is kept up-to-date with x
and uses xmode instead of GET_MODE (x) throughout.
2017-08-30 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
gcc/
* combine.c (force_int_to_mode): New function, split out from...
(force_to_mode): ...here. Keep xmode up-to-date and use it
instead of GET_MODE (x).
Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r251493
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions