[llvm-branch-commits] [llvm] b5f41cc - [LoopVectorize] Fix build error (#126218)
Tom Stellard via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Feb 7 13:30:55 PST 2025
Author: David Sherwood
Date: 2025-02-07T13:28:37-08:00
New Revision: b5f41cc50c9db7e3c155e5c1e8114678baa6bce9
URL: https://github.com/llvm/llvm-project/commit/b5f41cc50c9db7e3c155e5c1e8114678baa6bce9
DIFF: https://github.com/llvm/llvm-project/commit/b5f41cc50c9db7e3c155e5c1e8114678baa6bce9.diff
LOG: [LoopVectorize] Fix build error (#126218)
Fixes issue caused by 1930524bbde3cd26ff527bbdb5e1f937f484edd6
Unused variable UsesMask in LoopVectorize.cpp
(cherry picked from commit 3872e55758a5de035c032a975f244302c3ddacc3)
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 318e4809d97eea..06c2a91f89b1c5 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -6262,7 +6262,6 @@ void LoopVectorizationCostModel::setVectorizedCallDecision(ElementCount VF) {
// Find the cost of vectorizing the call, if we can find a suitable
// vector variant of the function.
- bool UsesMask = false;
VFInfo FuncInfo;
Function *VecFunc = nullptr;
// Search through any available variants for one we can use at this VF.
@@ -6314,7 +6313,6 @@ void LoopVectorizationCostModel::setVectorizedCallDecision(ElementCount VF) {
break;
}
case VFParamKind::GlobalPredicate:
- UsesMask = true;
break;
default:
ParamsOk = false;
More information about the llvm-branch-commits
mailing list