[llvm] 6932f47 - [NFC][VPlan] Correct two typos in comments.

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 05:18:30 PDT 2024


Author: Paul Walker
Date: 2024-08-22T12:17:50Z
New Revision: 6932f47cfdf4734d68759586047aee240861058e

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

LOG: [NFC][VPlan] Correct two typos in comments.

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/VPlan.h
    llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/VPlan.h b/llvm/lib/Transforms/Vectorize/VPlan.h
index 24da8f6700dfae..36a1aa08654d5b 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/llvm/lib/Transforms/Vectorize/VPlan.h
@@ -2042,7 +2042,7 @@ class VPBlendRecipe : public VPSingleDefRecipe {
 public:
   /// The blend operation is a User of the incoming values and of their
   /// respective masks, ordered [I0, M0, I1, M1, I2, M2, ...]. Note that M0 can
-  /// be ommited (implied by passing an odd number of operands) in which case
+  /// be omitted (implied by passing an odd number of operands) in which case
   /// all other incoming values are merged into it.
   VPBlendRecipe(PHINode *Phi, ArrayRef<VPValue *> Operands)
       : VPSingleDefRecipe(VPDef::VPBlendSC, Operands, Phi, Phi->getDebugLoc()) {

diff  --git a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
index 55e90298b36cda..8deded031dc391 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -914,7 +914,7 @@ static void simplifyRecipe(VPRecipeBase &R, VPTypeAnalysis &TypeInfo) {
     if (Blend->isNormalized())
       return;
 
-    // Normalize the blend so its first incomming value is used as the initial
+    // Normalize the blend so its first incoming value is used as the initial
     // value with the others blended into it.
 
     unsigned StartIndex = 0;


        


More information about the llvm-commits mailing list