[LV] Fix typo in comment
authorSophia <sophia957@foxmail.com>
Fri, 18 Mar 2022 02:14:50 +0000 (10:14 +0800)
committerSophia <sophia957@foxmail.com>
Mon, 21 Mar 2022 12:30:05 +0000 (20:30 +0800)
    Reviewed by: fhahn (Florian Hahn)

    Differential Revision: https://reviews.llvm.org/D121781

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

index 4b887fa..8e41a39 100644 (file)
@@ -8844,7 +8844,7 @@ VPlanPtr LoopVectorizationPlanner::buildVPlanWithVPRecipes(
     RecipeBuilder.recordRecipeOf(Phi);
     for (auto &R : ReductionOperations) {
       RecipeBuilder.recordRecipeOf(R);
-      // For min/max reducitons, where we have a pair of icmp/select, we also
+      // For min/max reductions, where we have a pair of icmp/select, we also
       // need to record the ICmp recipe, so it can be removed later.
       assert(!RecurrenceDescriptor::isSelectCmpRecurrenceKind(Kind) &&
              "Only min/max recurrences allowed for inloop reductions");