[llvm] b1c4b4d - Fix a spelling mistake in a comment. NFC

Greg Bedwell via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 05:23:13 PDT 2019


Author: Greg Bedwell
Date: 2019-10-29T12:19:52Z
New Revision: b1c4b4d5cbbea295ea7a9162e7cf16f0f41c935c

URL: https://github.com/llvm/llvm-project/commit/b1c4b4d5cbbea295ea7a9162e7cf16f0f41c935c
DIFF: https://github.com/llvm/llvm-project/commit/b1c4b4d5cbbea295ea7a9162e7cf16f0f41c935c.diff

LOG: Fix a spelling mistake in a comment. NFC

Added: 
    

Modified: 
    llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp b/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
index 68c8304d79f8..761dd0a54877 100644
--- a/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
@@ -3377,7 +3377,7 @@ void LegalizerHelper::multiplyRegisters(SmallVectorImpl<Register> &DstRegs,
           B.buildUMulH(NarrowTy, Src1Regs[DstIdx - 1 - i], Src2Regs[i]);
       Factors.push_back(Umulh.getReg(0));
     }
-    // Add CarrySum from additons calculated for previous DstIdx.
+    // Add CarrySum from additions calculated for previous DstIdx.
     if (DstIdx != 1) {
       Factors.push_back(CarrySumPrevDstIdx);
     }


        


More information about the llvm-commits mailing list