Skip to content

Commit

Permalink
Fix "compatiable" typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Mar 7, 2023
1 parent d612a75 commit 0265dd9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Expand Up @@ -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() ||
Expand Down
4 changes: 2 additions & 2 deletions llvm/lib/TableGen/Record.cpp
Expand Up @@ -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));
}
Expand All @@ -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));
}
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 0265dd9

Please sign in to comment.