Fix typo in RISCVMatInt.cpp comments
authorAlexander Pivovarov <apivovarov@gmail.com>
Fri, 3 Sep 2021 01:07:03 +0000 (18:07 -0700)
committerAlexander Pivovarov <apivovarov@gmail.com>
Fri, 3 Sep 2021 01:11:09 +0000 (18:11 -0700)
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp

index 2ca5eeb..af0434e 100644 (file)
@@ -77,7 +77,7 @@ static void generateInstSeqImpl(int64_t Val,
   assert(IsRV64 && "Can't emit >32-bit imm for non-RV64 target");
 
   // In the worst case, for a full 64-bit constant, a sequence of 8 instructions
-  // (i.e., LUI+ADDIW+SLLI+ADDI+SLLI+ADDI+SLLI+ADDI) has to be emmitted. Note
+  // (i.e., LUI+ADDIW+SLLI+ADDI+SLLI+ADDI+SLLI+ADDI) has to be emitted. Note
   // that the first two instructions (LUI+ADDIW) can contribute up to 32 bits
   // while the following ADDI instructions contribute up to 12 bits each.
   //