Fix a copy-paste bug.

llvm-svn: 231006
This commit is contained in:
Michael Zolotukhin 2015-03-02 20:37:10 +00:00
parent 25b87a4b5b
commit ea614812c6
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ public:
for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) {
if (Tys[i]->isVectorTy()) {
ScalarizationCost += getScalarizationOverhead(Tys[i], false, true);
ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements());
ScalarCalls = std::max(ScalarCalls, Tys[i]->getVectorNumElements());
}
}