[llvm] r273220 - Attempt to make MSVC buildbots happy.
George Burgess IV via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 20 16:20:49 PDT 2016
Author: gbiv
Date: Mon Jun 20 18:20:49 2016
New Revision: 273220
URL: http://llvm.org/viewvc/llvm-project?rev=273220&view=rev
Log:
Attempt to make MSVC buildbots happy.
Broken by r273219.
Modified:
llvm/trunk/lib/Analysis/CFLAliasAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/CFLAliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/CFLAliasAnalysis.cpp?rev=273220&r1=273219&r2=273220&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/CFLAliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/CFLAliasAnalysis.cpp Mon Jun 20 18:20:49 2016
@@ -740,10 +740,8 @@ CFLAAResult::FunctionInfo::FunctionInfo(
const SmallVectorImpl<Value *> &RetVals,
StratifiedSets<Value *> S)
: Sets(std::move(S)) {
- LLVM_CONSTEXPR unsigned ExpectedMaxArgs = 8;
-
// Collect StratifiedInfo for each parameter
- SmallVector<Optional<StratifiedInfo>, ExpectedMaxArgs> ParamInfos;
+ SmallVector<Optional<StratifiedInfo>, 8> ParamInfos;
for (auto &Param : Fn.args()) {
if (Param.getType()->isPointerTy())
ParamInfos.push_back(Sets.find(&Param));
More information about the llvm-commits
mailing list