diff options
author | Doug Evans <dje@gnu.org> | 1997-03-28 22:34:53 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1997-03-28 22:34:53 +0000 |
commit | c9903b4462457ef7cc4d0038a24c14b7770a89f3 (patch) | |
tree | 800d0f6eaf66e8353b32eb82c5ee5acf388d9673 /gcc | |
parent | 59a64126f8240f6475323663c80a2ea30d026267 (diff) | |
download | gcc-c9903b4462457ef7cc4d0038a24c14b7770a89f3.zip gcc-c9903b4462457ef7cc4d0038a24c14b7770a89f3.tar.gz gcc-c9903b4462457ef7cc4d0038a24c14b7770a89f3.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/combine.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index df6a322..94fbbab 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. |