diff mbox series

[committed] i386, ipa-modref: Comment spelling fix

Message ID 20211204101310.GC2646553@tucnak
State New
Headers show
Series [committed] i386, ipa-modref: Comment spelling fix | expand

Commit Message

Jakub Jelinek Dec. 4, 2021, 10:13 a.m. UTC
Hi!

This patch fixes spelling of prefer (misspelled as preffer).

2021-12-04  Jakub Jelinek  <jakub@redhat.com>

	* config/i386/x86-tune.def (X86_TUNE_PARTIAL_REG_DEPENDENCY): Fix
	comment typo, Preffer -> prefer.
	* ipa-modref-tree.c (modref_access_node::closer_pair_p): Likewise.


	Jakub
diff mbox series

Patch

--- gcc/config/i386/x86-tune.def.jj	2021-12-03 21:16:38.431728944 +0100
+++ gcc/config/i386/x86-tune.def	2021-12-03 21:37:36.624733852 +0100
@@ -45,8 +45,8 @@  DEF_TUNE (X86_TUNE_SCHEDULE, "schedule",
 	  | m_GOLDMONT_PLUS | m_TREMONT | m_ALDERLAKE | m_GENERIC)
 
 /* X86_TUNE_PARTIAL_REG_DEPENDENCY: Enable more register renaming
-   on modern chips.  Preffer stores affecting whole integer register
-   over partial stores.  For example preffer MOVZBL or MOVQ to load 8bit
+   on modern chips.  Prefer stores affecting whole integer register
+   over partial stores.  For example prefer MOVZBL or MOVQ to load 8bit
    value over movb.  */
 DEF_TUNE (X86_TUNE_PARTIAL_REG_DEPENDENCY, "partial_reg_dependency",
           m_P4_NOCONA | m_CORE2 | m_NEHALEM  | m_SANDYBRIDGE | m_CORE_AVX2
--- gcc/ipa-modref-tree.c.jj	2021-11-24 09:54:11.540738380 +0100
+++ gcc/ipa-modref-tree.c	2021-12-03 21:38:15.395179005 +0100
@@ -297,7 +297,7 @@  modref_access_node::closer_pair_p (const
 	dist2 = offseta2 - offsetb2 - b2.max_size;
     }
   /* It may happen that intervals overlap in case size
-     is different.  Preffer the overlap to non-overlap.  */
+     is different.  Prefer the overlap to non-overlap.  */
   if (known_lt (dist1, 0) && known_ge (dist2, 0))
     return true;
   if (known_lt (dist2, 0) && known_ge (dist1, 0))