aboutsummaryrefslogtreecommitdiff
path: root/gcc/dse.c
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2007-10-12 16:54:38 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-10-12 16:54:38 +0000
commit94a7682d428d1968ae2ca59a2da8cd8efc78fefb (patch)
treed696bcaec8c464af3761b07fd32df0c58afae383 /gcc/dse.c
parent27372c38aa5b12ad197b47331e5bd663702490b3 (diff)
downloadgcc-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dse.c b/gcc/dse.c
index c5e8e26..a5244e11 100644
--- a/gcc/dse.c
+++ b/gcc/dse.c
@@ -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;