Skip to content

Commit 3872e55

Browse files
authored
[LoopVectorize] Fix build error (#126218)
Fixes issue caused by 1930524 Unused variable UsesMask in LoopVectorize.cpp
1 parent 9d83790 commit 3872e55

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
@@ -6285,7 +6285,6 @@ void LoopVectorizationCostModel::setVectorizedCallDecision(ElementCount VF) {
62856285

62866286
// Find the cost of vectorizing the call, if we can find a suitable
62876287
// vector variant of the function.
6288-
bool UsesMask = false;
62896288
VFInfo FuncInfo;
62906289
Function *VecFunc = nullptr;
62916290
// Search through any available variants for one we can use at this VF.
@@ -6337,7 +6336,6 @@ void LoopVectorizationCostModel::setVectorizedCallDecision(ElementCount VF) {
63376336
break;
63386337
}
63396338
case VFParamKind::GlobalPredicate:
6340-
UsesMask = true;
63416339
break;
63426340
default:
63436341
ParamsOk = false;

0 commit comments

Comments
 (0)