Fix a copy-paste bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231006 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael Zolotukhin 2015-03-02 20:37:10 +00:00
parent a2e69c9c58
commit dc84228c2f

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());
}
}