From c9903b4462457ef7cc4d0038a24c14b7770a89f3 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 28 Mar 1997 22:34:53 +0000 Subject: [PATCH] combine.c (distribute_notes): Handle REG_BR_PROB and REG_EXEC_COUNT REG_NOTES. * combine.c (distribute_notes): Handle REG_BR_PROB and REG_EXEC_COUNT REG_NOTES. From-SVN: r13811 --- gcc/combine.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gcc/combine.c b/gcc/combine.c index df6a3228242..94fbbab22aa 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -10985,6 +10985,14 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1) next_note = XEXP (note, 1); switch (REG_NOTE_KIND (note)) { + case REG_BR_PROB: + case REG_EXEC_COUNT: + /* Doesn't matter much where we put this, as long as it's somewhere. + It is preferable to keep these notes on branches, which is most + likely to be i3. */ + place = i3; + break; + case REG_UNUSED: /* Any clobbers for i3 may still exist, and so we must process REG_UNUSED notes from that insn. -- 2.30.2