c4x.c (c4x_valid_rptb_p, [...]): New functions.
authorHerman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
Mon, 22 Jan 2001 10:40:31 +0000 (11:40 +0100)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Mon, 22 Jan 2001 10:40:31 +0000 (10:40 +0000)
commit0bbcfbafc8aa36f62eb4d347301cf80498ac3464
tree2404210dc2f2e256537dd6050491719edb21682f
parent5078f5eb76d9796bfb97fff2a269508e71b12ad2
c4x.c (c4x_valid_rptb_p, [...]): New functions.

* c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
(c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
valid.  If not replace it by equivalent insns.

From-SVN: r39181
gcc/ChangeLog
gcc/config/c4x/c4x.c