Fix "compatiable" typos
authorJay Foad <jay.foad@amd.com>
Tue, 7 Mar 2023 12:57:39 +0000 (12:57 +0000)
committerJay Foad <jay.foad@amd.com>
Tue, 7 Mar 2023 12:57:39 +0000 (12:57 +0000)
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/TableGen/Record.cpp
llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp

index b688463..93f940a 100644 (file)
@@ -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() ||
index a61fd3c..3bcf86c 100644 (file)
@@ -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));
       }
index bfbbbb4..0bd7156 100644 (file)
@@ -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;