diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2007-10-12 16:54:38 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-10-12 16:54:38 +0000 |
commit | 94a7682d428d1968ae2ca59a2da8cd8efc78fefb (patch) | |
tree | d696bcaec8c464af3761b07fd32df0c58afae383 /gcc/dse.c | |
parent | 27372c38aa5b12ad197b47331e5bd663702490b3 (diff) | |
download | gcc-94a7682d428d1968ae2ca59a2da8cd8efc78fefb.zip gcc-94a7682d428d1968ae2ca59a2da8cd8efc78fefb.tar.gz gcc-94a7682d428d1968ae2ca59a2da8cd8efc78fefb.tar.bz2 |
dse.c (find_shift_sequence): Reinstate "<= UNITS_PER_WORD" condition.
gcc/
* dse.c (find_shift_sequence): Reinstate "<= UNITS_PER_WORD" condition.
* var-tracking.c (micro_operation_def): Update comment on u.loc.
(mode_for_reg_attrs, var_lowpart): New functions.
(add_uses): Consider recording a lowpart of LOC for MO_USE.
(add_stores): Likewise MO_SET and MO_COPY. If the source of a set
or copy is known, set LOC to the SET that performs the set, instead
of the destination.
(find_src_status, find_src_set_src): Remove LOC parameter.
Replace INSN with the source value.
(compute_bb_dataflow, emit_notes_in_bb): Check for a SET u.loc when
handling MO_SET and MO_COPY. Update the calls to find_src_status
and find_src_set_src.
From-SVN: r129269
Diffstat (limited to 'gcc/dse.c')
-rw-r--r-- | gcc/dse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1415,7 +1415,7 @@ find_shift_sequence (rtx read_reg, justify the value we want to read but is available in one insn on the machine. */ - for (; access_size < UNITS_PER_WORD; access_size *= 2) + for (; access_size <= UNITS_PER_WORD; access_size *= 2) { rtx target, new_reg, shift_seq, insn; enum machine_mode new_mode; |