From: Jay Foad Date: Tue, 7 Mar 2023 12:57:39 +0000 (+0000) Subject: Fix "compatiable" typos X-Git-Tag: upstream/17.0.6~15643 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0265dd99258002043e07c885c99e99a8e8830ac1;p=platform%2Fupstream%2Fllvm.git Fix "compatiable" typos --- diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index b688463..93f940a 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 a61fd3c..3bcf86c 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(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 bfbbbb4..0bd7156 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;