[llvm] 72bde60 - [LV] Fix typo in comment
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 21 05:30:29 PDT 2022
Author: Sophia
Date: 2022-03-21T20:30:05+08:00
New Revision: 72bde608d2bd264008272c2ebecdd5883a2f7972
URL: https://github.com/llvm/llvm-project/commit/72bde608d2bd264008272c2ebecdd5883a2f7972
DIFF: https://github.com/llvm/llvm-project/commit/72bde608d2bd264008272c2ebecdd5883a2f7972.diff
LOG: [LV] Fix typo in comment
Reviewed by: fhahn (Florian Hahn)
Differential Revision: https://reviews.llvm.org/D121781
Added:
Modified:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 4b887fa401329..8e41a392dda04 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -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");
More information about the llvm-commits
mailing list