OSDN Git Service

* doc/invoke.texi: Remove reference to compiler internals from
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Feb 2011 12:35:10 +0000 (12:35 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Feb 2011 12:35:10 +0000 (12:35 +0000)
user documentation.

* reg-notes.def: Remove REG_VALUE_PROFILE.
* combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169861 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/combine.c
gcc/doc/invoke.texi
gcc/reg-notes.def

index ecabe7c..0166dc0 100644 (file)
@@ -1,3 +1,11 @@
+2011-02-06  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * doc/invoke.texi: Remove reference to compiler internals from
+       user documentation.
+
+       * reg-notes.def: Remove REG_VALUE_PROFILE.
+       * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE.
+
 2011-02-05  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/47610
index 4fe71f3..07ff0d4 100644 (file)
@@ -13148,10 +13148,6 @@ distribute_notes (rtx notes, rtx from_insn, rtx i3, rtx i2, rtx elim_i2,
          place = i3;
          break;
 
-       case REG_VALUE_PROFILE:
-         /* Just get rid of this note, as it is unused later anyway.  */
-         break;
-
        case REG_NON_LOCAL_GOTO:
          if (JUMP_P (i3))
            place = i3;
index da226dc..92320b0 100644 (file)
@@ -8029,8 +8029,7 @@ If combined with @option{-fprofile-arcs}, it adds code so that some
 data about values of expressions in the program is gathered.
 
 With @option{-fbranch-probabilities}, it reads back the data gathered
-from profiling values of expressions and adds @samp{REG_VALUE_PROFILE}
-notes to instructions for their later usage in optimizations.
+from profiling values of expressions for usage in optimizations.
 
 Enabled with @option{-fprofile-generate} and @option{-fprofile-use}.
 
index f82e7b7..329cd67 100644 (file)
@@ -99,11 +99,6 @@ REG_NOTE (DEP_ANTI)
    won't return.  */
 REG_NOTE (BR_PROB)
 
-/* REG_VALUE_PROFILE is attached when the profile is read in to an
-   insn before that the code to profile the value is inserted.  It
-   contains the results of profiling.  */
-REG_NOTE (VALUE_PROFILE)
-
 /* Attached to a call insn; indicates that the call is malloc-like and
    that the pointer returned cannot alias anything else.  */
 REG_NOTE (NOALIAS)