Skip to content

Commit b5f41cc

Browse files
david-armtstellar
authored andcommitted
[LoopVectorize] Fix build error (#126218)
Fixes issue caused by 1930524 Unused variable UsesMask in LoopVectorize.cpp (cherry picked from commit 3872e55)
1 parent 3542150 commit b5f41cc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6262,7 +6262,6 @@ void LoopVectorizationCostModel::setVectorizedCallDecision(ElementCount VF) {
62626262

62636263
// Find the cost of vectorizing the call, if we can find a suitable
62646264
// vector variant of the function.
6265-
bool UsesMask = false;
62666265
VFInfo FuncInfo;
62676266
Function *VecFunc = nullptr;
62686267
// Search through any available variants for one we can use at this VF.
@@ -6314,7 +6313,6 @@ void LoopVectorizationCostModel::setVectorizedCallDecision(ElementCount VF) {
63146313
break;
63156314
}
63166315
case VFParamKind::GlobalPredicate:
6317-
UsesMask = true;
63186316
break;
63196317
default:
63206318
ParamsOk = false;

0 commit comments

Comments
 (0)