Fix a comment typo in ix86_split_lea_for_addr
authorH.J. Lu <hongjiu.lu@intel.com>
Sat, 18 Jan 2014 02:49:56 +0000 (02:49 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sat, 18 Jan 2014 02:49:56 +0000 (18:49 -0800)
* config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment
typo.

From-SVN: r206745

gcc/ChangeLog
gcc/config/i386/i386.c

index 9e2e18f..01ba1fd 100644 (file)
@@ -1,3 +1,8 @@
+2014-01-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment
+       typo.
+
 2014-01-17  John David Anglin  <danglin@gcc.gnu.org>
 
        * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short
index 7bfad8f..aeae46d 100644 (file)
@@ -18309,7 +18309,7 @@ ix86_split_lea_for_addr (rtx insn, rtx operands[], enum machine_mode mode)
       /* Case r1 = r1 + ...  */
       if (regno1 == regno0)
        {
-         /* If we have a case r1 = r1 + C * r1 then we
+         /* If we have a case r1 = r1 + C * r2 then we
             should use multiplication which is very
             expensive.  Assume cost model is wrong if we
             have such case here.  */