[llvm] 8ab3bef - [SLP] Fix spelling in a lambda name [NFC]
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 7 18:53:16 PST 2022
Author: Philip Reames
Date: 2022-03-07T18:52:57-08:00
New Revision: 8ab3befa3f3e621f94f7859241927c0d2d277e8f
URL: https://github.com/llvm/llvm-project/commit/8ab3befa3f3e621f94f7859241927c0d2d277e8f
DIFF: https://github.com/llvm/llvm-project/commit/8ab3befa3f3e621f94f7859241927c0d2d277e8f.diff
LOG: [SLP] Fix spelling in a lambda name [NFC]
Added:
Modified:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index ddcd0c3a496c4..9e81326bb39c3 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -7744,7 +7744,7 @@ bool BoUpSLP::BlockScheduling::extendSchedulingRegion(Value *V,
assert(!isa<PHINode>(I) && !isVectorLikeInstWithConstOps(I) &&
"phi nodes/insertelements/extractelements/extractvalues don't need to "
"be scheduled");
- auto &&CheckSheduleForI = [this, &S](Instruction *I) -> bool {
+ auto &&CheckScheduleForI = [this, &S](Instruction *I) -> bool {
ScheduleData *ISD = getScheduleData(I);
if (!ISD)
return false;
@@ -7756,7 +7756,7 @@ bool BoUpSLP::BlockScheduling::extendSchedulingRegion(Value *V,
ExtraScheduleDataMap[I][S.OpValue] = SD;
return true;
};
- if (CheckSheduleForI(I))
+ if (CheckScheduleForI(I))
return true;
if (!ScheduleStart) {
// It's the first instruction in the new region.
@@ -7764,7 +7764,7 @@ bool BoUpSLP::BlockScheduling::extendSchedulingRegion(Value *V,
ScheduleStart = I;
ScheduleEnd = I->getNextNode();
if (isOneOf(S, I) != I)
- CheckSheduleForI(I);
+ CheckScheduleForI(I);
assert(ScheduleEnd && "tried to vectorize a terminator?");
LLVM_DEBUG(dbgs() << "SLP: initialize schedule region to " << *I << "\n");
return true;
@@ -7792,7 +7792,7 @@ bool BoUpSLP::BlockScheduling::extendSchedulingRegion(Value *V,
initScheduleData(I, ScheduleStart, nullptr, FirstLoadStoreInRegion);
ScheduleStart = I;
if (isOneOf(S, I) != I)
- CheckSheduleForI(I);
+ CheckScheduleForI(I);
LLVM_DEBUG(dbgs() << "SLP: extend schedule region start to " << *I
<< "\n");
return true;
@@ -7806,7 +7806,7 @@ bool BoUpSLP::BlockScheduling::extendSchedulingRegion(Value *V,
nullptr);
ScheduleEnd = I->getNextNode();
if (isOneOf(S, I) != I)
- CheckSheduleForI(I);
+ CheckScheduleForI(I);
assert(ScheduleEnd && "tried to vectorize a terminator?");
LLVM_DEBUG(dbgs() << "SLP: extend schedule region end to " << *I << "\n");
return true;
More information about the llvm-commits
mailing list