[llvm] 0265dd9 - Fix "compatiable" typos

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 7 04:58:15 PST 2023


Author: Jay Foad
Date: 2023-03-07T12:57:39Z
New Revision: 0265dd99258002043e07c885c99e99a8e8830ac1

URL: https://github.com/llvm/llvm-project/commit/0265dd99258002043e07c885c99e99a8e8830ac1
DIFF: https://github.com/llvm/llvm-project/commit/0265dd99258002043e07c885c99e99a8e8830ac1.diff

LOG: Fix "compatiable" typos

Added: 
    

Modified: 
    llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    llvm/lib/TableGen/Record.cpp
    llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index b688463332107..93f940a2fa5da 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -7985,7 +7985,7 @@ SDValue TargetLowering::expandFMINNUM_FMAXNUM(SDNode *Node,
   }
 
   // If the target has FMINIMUM/FMAXIMUM but not FMINNUM/FMAXNUM use that
-  // instead if there are no NaNs and there can't be an incompatiable zero
+  // instead if there are no NaNs and there can't be an incompatible zero
   // compare: at least one operand isn't +/-0, or there are no signed-zeros.
   if (Node->getFlags().hasNoNaNs() &&
       (Node->getFlags().hasNoSignedZeros() ||

diff  --git a/llvm/lib/TableGen/Record.cpp b/llvm/lib/TableGen/Record.cpp
index a61fd3cea10e8..3bcf86c3307ab 100644
--- a/llvm/lib/TableGen/Record.cpp
+++ b/llvm/lib/TableGen/Record.cpp
@@ -1790,7 +1790,7 @@ Init *ExistsOpInit::Fold(Record *CurRec, bool IsFinal) const {
     // Look up all defined records to see if we can find one.
     Record *D = CheckType->getRecordKeeper().getDef(Name->getValue());
     if (D) {
-      // Check if types are compatiable.
+      // Check if types are compatible.
       return IntInit::get(getRecordKeeper(),
                           DefInit::get(D)->getType()->typeIsA(CheckType));
     }
@@ -1805,7 +1805,7 @@ Init *ExistsOpInit::Fold(Record *CurRec, bool IsFinal) const {
           return const_cast<ExistsOpInit *>(this);
 
         // No doubt that there exists a record, so we should check if types are
-        // compatiable.
+        // compatible.
         return IntInit::get(getRecordKeeper(),
                             CurRec->getType()->typeIsA(CheckType));
       }

diff  --git a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
index bfbbbb419511b..0bd715688b018 100644
--- a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
+++ b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
@@ -1157,7 +1157,7 @@ uint32_t ARMAsmBackendDarwin::generateCompactUnwindEncoding(
       // Directive not convertable to compact unwind, bail out.
       DEBUG_WITH_TYPE("compact-unwind",
                       llvm::dbgs()
-                          << "CFI directive not compatiable with comact "
+                          << "CFI directive not compatible with compact "
                              "unwind encoding, opcode=" << Inst.getOperation()
                           << "\n");
       return CU::UNWIND_ARM_MODE_DWARF;


        


More information about the llvm-commits mailing list