Skip to content

Commit 108766f

Browse files
committed
Fix typos
I found one typo of "implemnt", then some more. s/implemnt/implement/g
1 parent 7c327c2 commit 108766f

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

clang/lib/CodeGen/CGBuiltin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7999,7 +7999,7 @@ Value *CodeGenFunction::EmitARMBuiltinExpr(unsigned BuiltinID,
79997999
Value *Arg0 = EmitScalarExpr(E->getArg(0));
80008000
Value *Arg1 = EmitScalarExpr(E->getArg(1));
80018001

8002-
// crc32{c,}d intrinsics are implemnted as two calls to crc32{c,}w
8002+
// crc32{c,}d intrinsics are implemented as two calls to crc32{c,}w
80038003
// intrinsics, hence we need different codegen for these cases.
80048004
if (BuiltinID == clang::ARM::BI__builtin_arm_crc32d ||
80058005
BuiltinID == clang::ARM::BI__builtin_arm_crc32cd) {

llvm/lib/CodeGen/MIRParser/MIParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1847,7 +1847,7 @@ bool MIParser::parseIRConstant(StringRef::iterator Loc, const Constant *&C) {
18471847
return false;
18481848
}
18491849

1850-
// See LLT implemntation for bit size limits.
1850+
// See LLT implementation for bit size limits.
18511851
static bool verifyScalarSize(uint64_t Size) {
18521852
return Size != 0 && isUInt<16>(Size);
18531853
}

llvm/lib/MC/MCWin64EH.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,9 +1282,9 @@ static void ARM64EmitUnwindInfoForSegment(MCStreamer &streamer,
12821282
// FIXME: We should be able to split unwind info into multiple sections.
12831283
if (CodeWords > 0xFF || EpilogCount > 0xFFFF)
12841284
report_fatal_error(
1285-
"SEH unwind data splitting is only implemnted for large functions, "
1286-
"cases of too many code words or too many epilogs will be done later"
1287-
);
1285+
"SEH unwind data splitting is only implemented for large functions, "
1286+
"cases of too many code words or too many epilogs will be done "
1287+
"later");
12881288
uint32_t row2 = 0x0;
12891289
row2 |= (CodeWords & 0xFF) << 16;
12901290
row2 |= (EpilogCount & 0xFFFF);

llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class AArch64TargetStreamer : public MCTargetStreamer {
3030
/// MCExpr that can be used to refer to the constant pool location.
3131
const MCExpr *addConstantPoolEntry(const MCExpr *, unsigned Size, SMLoc Loc);
3232

33-
/// Callback used to implemnt the .ltorg directive.
33+
/// Callback used to implement the .ltorg directive.
3434
/// Emit contents of constant pool for the current section.
3535
void emitCurrentConstantPool();
3636

llvm/test/CodeGen/PowerPC/aix-alias.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; TODO: Add object generation test when visibility for object generation
2-
; is implemnted.
2+
; is implemented.
33

44
; RUN: llc -verify-machineinstrs -mtriple powerpc-ibm-aix-xcoff -mcpu=pwr4 \
55
; RUN: -mattr=-altivec -data-sections=false -xcoff-traceback-table=false < %s | \

0 commit comments

Comments
 (0)