local-alloc.c (block_alloc): Stop looping over the input operands once we find an...
authorJeff Law <law@gcc.gnu.org>
Tue, 21 Feb 1995 17:41:05 +0000 (10:41 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 21 Feb 1995 17:41:05 +0000 (10:41 -0700)
* 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.

From-SVN: r8990

gcc/local-alloc.c

index fc5cdb4bdb417ffd446d42da351fac35ec012a91..e62a5a61953b13c11ff1d1302e8700a8a50a63ce 100644 (file)
@@ -1294,6 +1294,8 @@ block_alloc (b)
                        win = combine_regs (r1, r0, may_save_copy,
                                            insn_number, insn, 0);
                    }
+                 if (win)
+                   break;
                }
            }