diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2008-08-28 20:02:54 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2008-08-28 20:02:54 +0000 |
commit | eef302d277ea42968569a454ed89ba5c236fe156 (patch) | |
tree | f924db7c9c66de457eab2a6629f8d764877ab80c /gcc/rtl.h | |
parent | 9b3f31f2ed0f19d5c740684d85afd71152a473c0 (diff) | |
download | gcc-eef302d277ea42968569a454ed89ba5c236fe156.zip gcc-eef302d277ea42968569a454ed89ba5c236fe156.tar.gz gcc-eef302d277ea42968569a454ed89ba5c236fe156.tar.bz2 |
rtl.h (simplify_subreg_regno): Declare.
gcc/
* rtl.h (simplify_subreg_regno): Declare.
* rtlanal.c (simplify_subreg_regno): New function, split out from...
* simplify-rtx.c (simplify_subreg): ...here.
* reload.c (find_reloads): Use simplify_subreg_regno instead of
subreg_offset_representable_p.
From-SVN: r139736
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1084,6 +1084,8 @@ extern unsigned int subreg_regno_offset (unsigned int, enum machine_mode, extern bool subreg_offset_representable_p (unsigned int, enum machine_mode, unsigned int, enum machine_mode); extern unsigned int subreg_regno (const_rtx); +extern int simplify_subreg_regno (unsigned int, enum machine_mode, + unsigned int, enum machine_mode); extern unsigned int subreg_nregs (const_rtx); extern unsigned int subreg_nregs_with_regno (unsigned int, const_rtx); extern unsigned HOST_WIDE_INT nonzero_bits (const_rtx, enum machine_mode); |