From: Richard Kenner Date: Fri, 12 May 1995 11:36:50 +0000 (-0400) Subject: (unroll_loop): Only use local_regno for pseudos. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a193a6db03849c62be72fc41504563a87c38e518;p=gcc.git (unroll_loop): Only use local_regno for pseudos. From-SVN: r9641 --- diff --git a/gcc/unroll.c b/gcc/unroll.c index d5a58208d83..84a79ce2f25 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -728,7 +728,7 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before, int copy_start_luid = INSN_LUID (copy_start); int copy_end_luid = INSN_LUID (copy_end); - for (j = 0; j < maxregnum; ++j) + for (j = FIRST_PSEUDO_REGISTER; j < maxregnum; ++j) { int first_uid = regno_first_uid[j]; int last_uid = regno_last_uid[j]; @@ -952,7 +952,7 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before, if (local_label[j]) map->label_map[j] = gen_label_rtx (); - for (j = 0; j < maxregnum; j++) + for (j = FIRST_PSEUDO_REGISTER; j < maxregnum; j++) if (local_regno[j]) map->reg_map[j] = gen_reg_rtx (GET_MODE (regno_reg_rtx[j])); @@ -1093,7 +1093,7 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before, if (local_label[j]) map->label_map[j] = gen_label_rtx (); - for (j = 0; j < maxregnum; j++) + for (j = FIRST_PSEUDO_REGISTER; j < maxregnum; j++) if (local_regno[j]) map->reg_map[j] = gen_reg_rtx (GET_MODE (regno_reg_rtx[j]));