diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2005-04-05 14:50:35 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2005-04-05 14:50:35 +0000 |
commit | bf667275670a58261be7e15e9e9807cb60750e85 (patch) | |
tree | 9063690ca6fe6c4afac8a638d99c0df2385390f6 /gcc/combine.c | |
parent | c81739f769ffb7f7d7bc417bc21444e298c2392e (diff) | |
download | gcc-bf667275670a58261be7e15e9e9807cb60750e85.zip gcc-bf667275670a58261be7e15e9e9807cb60750e85.tar.gz gcc-bf667275670a58261be7e15e9e9807cb60750e85.tar.bz2 |
combine.c (RTL_HOOKS_GEN_LOWPART_NO_EMIT): Use gen_lowpart_for_combine.
2004-04-05 Paolo Bonzini <bonzini@gnu.org>
* combine.c (RTL_HOOKS_GEN_LOWPART_NO_EMIT): Use
gen_lowpart_for_combine.
* cse.c (gen_lowpart_if_possible): Move...
* rtlhooks.c (gen_lowpart_if_possible): ... here. Also try
gen_lowpart_SUBREG.
(gen_lowpart_no_emit_general): Use it.
From-SVN: r97633
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 297b58e..313a3d9 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -422,6 +422,10 @@ static bool unmentioned_reg_p (rtx, rtx); #undef RTL_HOOKS_GEN_LOWPART #define RTL_HOOKS_GEN_LOWPART gen_lowpart_for_combine +/* Our implementation of gen_lowpart never emits a new pseudo. */ +#undef RTL_HOOKS_GEN_LOWPART_NO_EMIT +#define RTL_HOOKS_GEN_LOWPART_NO_EMIT gen_lowpart_for_combine + #undef RTL_HOOKS_REG_NONZERO_REG_BITS #define RTL_HOOKS_REG_NONZERO_REG_BITS reg_nonzero_bits_for_combine |