]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
combine.c (distribute_notes): Kill REG_EXEC_COUNT.
authorJosef Zlomek <zlomekj@suse.cz>
Thu, 20 Feb 2003 08:54:48 +0000 (09:54 +0100)
committerJosef Zlomek <zlomek@gcc.gnu.org>
Thu, 20 Feb 2003 08:54:48 +0000 (08:54 +0000)
* combine.c (distribute_notes): Kill REG_EXEC_COUNT.
* rtl.c (reg_note_name): Likewise.
* rtl.h (enum reg_note): Likewise.
* doc/invoke.texi: Likewise.
* doc/rtl.texi: Likewise.

From-SVN: r63157

gcc/ChangeLog
gcc/combine.c
gcc/doc/invoke.texi
gcc/doc/rtl.texi
gcc/rtl.c
gcc/rtl.h

index c20a009a7bce2652ca59ab7890f220742d7e837b..48b76d72d5a3fe0652999dd2581e26e22a40fda9 100644 (file)
@@ -1,3 +1,11 @@
+2003-02-20  Josef Zlomek  <zlomekj@suse.cz>
+
+       * combine.c (distribute_notes): Kill REG_EXEC_COUNT.
+       * rtl.c (reg_note_name): Likewise.
+       * rtl.h (enum reg_note): Likewise.
+       * doc/invoke.texi: Likewise.
+       * doc/rtl.texi: Likewise.
+
 2003-02-20  Josef Zlomek  <zlomekj@suse.cz>
 
        * bb-reorder.c (find_traces_1_round): Fix comment typo.
index 8f126568c801db46ff7500f70842fbafe0d984c0..ce4d3aa35dcb852897c22997f176951019954b52 100644 (file)
@@ -12583,7 +12583,6 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1)
        {
        case REG_BR_PROB:
        case REG_BR_PRED:
-       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.  */
index c57e9d9fccad4cffcc589454241d6a09d61a28e6..c4828d6176df2bdc21caa4d6bebef4ce6646df0b 100644 (file)
@@ -4241,8 +4241,7 @@ file  The information in this data file is very dependent on the
 structure of the generated code, so you must use the same source code
 and the same optimization options for both compilations.
 
-With @option{-fbranch-probabilities}, GCC puts a @samp{REG_EXEC_COUNT}
-note on the first instruction of each basic block, and a
+With @option{-fbranch-probabilities}, GCC puts a 
 @samp{REG_BR_PROB} note on each @samp{JUMP_INSN} and @samp{CALL_INSN}.
 These can be used to improve optimization.  Currently, they are only
 used in one place: in @file{reorg.c}, instead of guessing which path a
index 7e696fac38b87718527749d9cc0d565b62046a93..b7b5b30692d48694737a932276545bfac706c2ce 100644 (file)
@@ -3283,12 +3283,6 @@ are stored in the @code{REG_NOTES} field of an insn as an
 @code{expr_list}.
 
 @table @code
-@findex REG_EXEC_COUNT
-@item REG_EXEC_COUNT
-This is used to indicate the number of times a basic block was executed
-according to the profile data.  The note is attached to the first insn in
-the basic block.
-
 @findex REG_BR_PROB
 @item REG_BR_PROB
 This is used to specify the ratio of branches to non-branches of a
index 6414aec7d6c3bc1f39d46f91f962ffa609c51ce7..8e1176d4127a78953c32e3c3a4d797653c595d1d 100644 (file)
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -228,7 +228,7 @@ const char * const reg_note_name[] =
   "REG_WAS_0", "REG_RETVAL", "REG_LIBCALL", "REG_NONNEG",
   "REG_NO_CONFLICT", "REG_UNUSED", "REG_CC_SETTER", "REG_CC_USER",
   "REG_LABEL", "REG_DEP_ANTI", "REG_DEP_OUTPUT", "REG_BR_PROB",
-  "REG_EXEC_COUNT", "REG_NOALIAS", "REG_SAVE_AREA", "REG_BR_PRED",
+  "REG_NOALIAS", "REG_SAVE_AREA", "REG_BR_PRED",
   "REG_FRAME_RELATED_EXPR", "REG_EH_CONTEXT", "REG_EH_REGION",
   "REG_SAVE_NOTE", "REG_MAYBE_DEAD", "REG_NORETURN",
   "REG_NON_LOCAL_GOTO", "REG_SETJMP", "REG_ALWAYS_RETURN",
index 7758a92f724ce7dfcfdc175183b7e1446945008f..680550a65205d40610e5c1c596d5846c990c88ef 100644 (file)
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -688,11 +688,6 @@ enum reg_note
      return.  */
   REG_BR_PROB,
 
-  /* REG_EXEC_COUNT is attached to the first insn of each basic block, and
-     the first insn after each CALL_INSN.  It indicates how many times this
-     block was executed.  */
-  REG_EXEC_COUNT,
-
   /* Attached to a call insn; indicates that the call is malloc-like and
      that the pointer returned cannot alias anything else.  */
   REG_NOALIAS,