diff options
Diffstat (limited to 'gcc/avoid-store-forwarding.cc')
-rw-r--r-- | gcc/avoid-store-forwarding.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/avoid-store-forwarding.cc b/gcc/avoid-store-forwarding.cc index 1b8c35b..fa83e10 100644 --- a/gcc/avoid-store-forwarding.cc +++ b/gcc/avoid-store-forwarding.cc @@ -238,11 +238,7 @@ process_store_forwarding (vec<store_fwd_info> &stores, rtx_insn *load_insn, { start_sequence (); - /* We can use a paradoxical subreg to force this to a wider mode, as - the only use will be inserting the bits (i.e., we don't care about - the value of the higher bits). */ - rtx ext0 = lowpart_subreg (GET_MODE (dest), it->mov_reg, - GET_MODE (it->mov_reg)); + rtx ext0 = gen_rtx_ZERO_EXTEND (GET_MODE (dest), it->mov_reg); if (ext0) { rtx_insn *move0 = emit_move_insn (dest, ext0); |