[PATCH] D121781: [LV] Fix typo in comment

Sophia Qu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 02:13:48 PDT 2022


sophia246 updated this revision to Diff 415738.
sophia246 added a comment.

upload patch with full context


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121781/new/

https://reviews.llvm.org/D121781

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp


Index: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
===================================================================
--- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -8841,7 +8841,7 @@
     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");


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121781.415738.patch
Type: text/x-patch
Size: 745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220316/96cdfb3c/attachment.bin>


More information about the llvm-commits mailing list