Skip to content

Commit 74ca527

Browse files
committed
Fix a couple of typos. NFC
1 parent cff0db0 commit 74ca527

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/include/llvm/CodeGen/TargetInstrInfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ class TargetInstrInfo : public MCInstrInfo {
724724
return nullptr;
725725
}
726726

727-
/// Analyze the loop code, return true if it cannot be understoo. Upon
727+
/// Analyze the loop code, return true if it cannot be understood. Upon
728728
/// success, this function returns false and returns information about the
729729
/// induction variable and compare instruction used at the end.
730730
virtual bool analyzeLoop(MachineLoop &L, MachineInstr *&IndVarInst,
@@ -771,7 +771,7 @@ class TargetInstrInfo : public MCInstrInfo {
771771

772772
/// Second variant of isProfitableToIfCvt. This one
773773
/// checks for the case where two basic blocks from true and false path
774-
/// of a if-then-else (diamond) are predicated on mutally exclusive
774+
/// of a if-then-else (diamond) are predicated on mutually exclusive
775775
/// predicates, where the probability of the true path being taken is given
776776
/// by Probability, and Confidence is a measure of our confidence that it
777777
/// will be properly predicted.

llvm/lib/CodeGen/MachineInstr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ bool MachineInstr::isSafeToMove(AAResults *AA, bool &SawStore) const {
12171217

12181218
// See if this instruction does a load. If so, we have to guarantee that the
12191219
// loaded value doesn't change between the load and the its intended
1220-
// destination. The check for isInvariantLoad gives the targe the chance to
1220+
// destination. The check for isInvariantLoad gives the target the chance to
12211221
// classify the load as always returning a constant, e.g. a constant pool
12221222
// load.
12231223
if (mayLoad() && !isDereferenceableInvariantLoad(AA))

0 commit comments

Comments
 (0)