Fix typos
authorLuke Drummond <luke.drummond@codeplay.com>
Thu, 5 Jan 2023 18:34:55 +0000 (18:34 +0000)
committerLuke Drummond <luke.drummond@codeplay.com>
Thu, 5 Jan 2023 18:49:23 +0000 (18:49 +0000)
I found one typo of "implemnt", then some more.
s/implemnt/implement/g

clang/lib/CodeGen/CGBuiltin.cpp
llvm/lib/CodeGen/MIRParser/MIParser.cpp
llvm/lib/MC/MCWin64EH.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h
llvm/test/CodeGen/PowerPC/aix-alias.ll

index b1e8517460ce87219e9be313646536a0544e515b..0afa25da7aee30b38355c14b4c43cf575d1e68a2 100644 (file)
@@ -7999,7 +7999,7 @@ Value *CodeGenFunction::EmitARMBuiltinExpr(unsigned BuiltinID,
     Value *Arg0 = EmitScalarExpr(E->getArg(0));
     Value *Arg1 = EmitScalarExpr(E->getArg(1));
 
-    // crc32{c,}d intrinsics are implemnted as two calls to crc32{c,}w
+    // crc32{c,}d intrinsics are implemented as two calls to crc32{c,}w
     // intrinsics, hence we need different codegen for these cases.
     if (BuiltinID == clang::ARM::BI__builtin_arm_crc32d ||
         BuiltinID == clang::ARM::BI__builtin_arm_crc32cd) {
index 56c5c5814238820750c596c945dc584bece00c00..8b27edee45fe5f9b328a0d5310214406d609ed9a 100644 (file)
@@ -1847,7 +1847,7 @@ bool MIParser::parseIRConstant(StringRef::iterator Loc, const Constant *&C) {
   return false;
 }
 
-// See LLT implemntation for bit size limits.
+// See LLT implementation for bit size limits.
 static bool verifyScalarSize(uint64_t Size) {
   return Size != 0 && isUInt<16>(Size);
 }
index 4b20959ee5d6ca87cd68e6034010b1e2e71dfa67..1a55722133ccda3ed23368848feee7e0224322ca 100644 (file)
@@ -1282,9 +1282,9 @@ static void ARM64EmitUnwindInfoForSegment(MCStreamer &streamer,
     // FIXME: We should be able to split unwind info into multiple sections.
     if (CodeWords > 0xFF || EpilogCount > 0xFFFF)
       report_fatal_error(
-          "SEH unwind data splitting is only implemnted for large functions, "
-          "cases of too many code words or too many epilogs will be done later"
-      );
+          "SEH unwind data splitting is only implemented for large functions, "
+          "cases of too many code words or too many epilogs will be done "
+          "later");
     uint32_t row2 = 0x0;
     row2 |= (CodeWords & 0xFF) << 16;
     row2 |= (EpilogCount & 0xFFFF);
index acb03f349e8634786d4f3cabd63f658741a2853f..b3bce9960772eb95552dc0e8d336af3e34832329 100644 (file)
@@ -30,7 +30,7 @@ public:
   /// MCExpr that can be used to refer to the constant pool location.
   const MCExpr *addConstantPoolEntry(const MCExpr *, unsigned Size, SMLoc Loc);
 
-  /// Callback used to implemnt the .ltorg directive.
+  /// Callback used to implement the .ltorg directive.
   /// Emit contents of constant pool for the current section.
   void emitCurrentConstantPool();
 
index a3f6d87ca85ff0b6df366965b3dda8a49a1ff5e7..0ec2118beb7aa62fde17dc57f16bf9042b77f582 100644 (file)
@@ -1,5 +1,5 @@
 ; TODO: Add object generation test when visibility for object generation
-;       is implemnted.
+;       is implemented.
 
 ; RUN: llc -verify-machineinstrs -mtriple powerpc-ibm-aix-xcoff -mcpu=pwr4 \
 ; RUN:     -mattr=-altivec -data-sections=false -xcoff-traceback-table=false < %s | \