summaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-21 17:41:05 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-21 17:41:05 +0000
commitc64ed3c2fb8a8ecff8924e42662fffa07c528dfe (patch)
treedbabd10f40304ce821766d33e3316e8e66193504 /gcc/local-alloc.c
parent9b134b7bdf6ff6ace68e1b347dffa990836dad9c (diff)
downloadgcc-c64ed3c2fb8a8ecff8924e42662fffa07c528dfe.tar.gz
* local-alloc.c (block_alloc): Stop looping over the input
operands once we find an input/output register pair which can be combined into a single qty. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8990 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r--gcc/local-alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index fc5cdb4bdb4..e62a5a61953 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -1294,6 +1294,8 @@ block_alloc (b)
win = combine_regs (r1, r0, may_save_copy,
insn_number, insn, 0);
}
+ if (win)
+ break;
}
}