find_barrier(): Return as soon as a BARRIER insn is found.
From-SVN: r19386
This commit is contained in:
parent
d0c4285986
commit
a2538ff76a
|
@ -1,3 +1,9 @@
|
|||
Thu Apr 23 15:01:13 1998 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* config/arm/arm.c (find_barrier): Return as soon as a barrier is
|
||||
found, rather than at end of the loop, after the insn has been
|
||||
changed.
|
||||
|
||||
Thu Apr 23 20:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
|
||||
|
|
|
@ -3539,7 +3539,7 @@ find_barrier (from, max_count)
|
|||
while (from && count < max_count)
|
||||
{
|
||||
if (GET_CODE (from) == BARRIER)
|
||||
found_barrier = from;
|
||||
return from;
|
||||
|
||||
/* Count the length of this insn */
|
||||
if (GET_CODE (from) == INSN
|
||||
|
|
Loading…
Reference in New Issue