]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* compare-elim.c (equivalent_reg_at_start): Adjust outdated comment.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 May 2017 09:12:33 +0000 (09:12 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 May 2017 09:12:33 +0000 (09:12 +0000)
* config/visium/visium.c (single_set_and_flags): Likewise.
* config/visium/visium.md (Substitutions): Likewise.

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

gcc/ChangeLog
gcc/compare-elim.c
gcc/config/visium/visium.c
gcc/config/visium/visium.md

index 072eff70abccbdcbe6b90241d81acf5e28337bff..219836cf092a754fa3a17be6b8c543b2e13d62ba 100644 (file)
@@ -1,3 +1,9 @@
+2017-05-17  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * compare-elim.c (equivalent_reg_at_start): Adjust outdated comment.
+       * config/visium/visium.c (single_set_and_flags): Likewise.
+       * config/visium/visium.md (Substitutions): Likewise.
+
 2017-05-17  Martin Liska  <mliska@suse.cz>
 
        * cfg.c: Introduce dump_flags_t type and
index b5ce99341f6623263b72678e3dafcab198dd26c0..d357d16c3dc9406058da57b4929e59a83950f11b 100644 (file)
@@ -541,29 +541,29 @@ equivalent_reg_at_start (rtx reg, rtx_insn *end, rtx_insn *start)
       df_ref def;
 
       /* Note that the BB_HEAD is always either a note or a label, but in
-        any case it means that IN_A is defined outside the block.  */
+        any case it means that REG is defined outside the block.  */
       if (insn == bb_head)
        return NULL_RTX;
       if (NOTE_P (insn) || DEBUG_INSN_P (insn))
        continue;
 
-      /* Find a possible def of IN_A in INSN.  */
+      /* Find a possible def of REG in INSN.  */
       FOR_EACH_INSN_DEF (def, insn)
        if (DF_REF_REGNO (def) == REGNO (reg))
          break;
 
-      /* No definitions of IN_A; continue searching.  */
+      /* No definitions of REG; continue searching.  */
       if (def == NULL)
        continue;
 
-      /* Bail if this is not a totally normal set of IN_A.  */
+      /* Bail if this is not a totally normal set of REG.  */
       if (DF_REF_IS_ARTIFICIAL (def))
        return NULL_RTX;
       if (DF_REF_FLAGS (def) & abnormal_flags)
        return NULL_RTX;
 
       /* We've found an insn between the compare and the clobber that sets
-        IN_A.  Given that pass_cprop_hardreg has not yet run, we still find
+        REG.  Given that pass_cprop_hardreg has not yet run, we still find
         situations in which we can usefully look through a copy insn.  */
       rtx x = single_set (insn);
       if (x == NULL_RTX)
index e4cdac198e1c813e550b1ac8d25a10c6c6791a99..fac254c4c1e0dae837fdef4fa5d831e84763ea42 100644 (file)
@@ -922,8 +922,8 @@ empty_delay_slot (rtx_insn *insn)
   return 1;
 }
 
-/* Wrapper around single_set which returns the first SET of a pair if the
-   second SET is to the flags register.  */
+/* Wrapper around single_set which returns the second SET of a pair if the
+   first SET is to the flags register.  */
 
 static rtx
 single_set_and_flags (rtx_insn *insn)
index a1f97a252d131f7f327e3a7c80d270c532689fb1..9950f3f3f7eaeb376debf61f3a0699db426c1b7d 100644 (file)
 ;;
 ;; Substitutions.
 ;;
-;; They are used to define the second instruction of the pairs required by
+;; They are used to define the first instruction of the pairs required by
 ;; the postreload compare elimination pass, with a first variant for the
 ;; logical insns and a second variant for the arithmetic insns.
 ;;