This was lefted out. Fixed sumarray-dbl.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36445 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2007-04-25 18:33:21 +00:00
parent 68c01b3cf3
commit c1a3520580

View File

@ -315,6 +315,7 @@ unsigned FunctionLoweringInfo::CreateRegForValue(const Value *V) {
while (NumElts > 1 && !TLI.isTypeLegal(VecTy)) {
NumElts >>= 1;
NumVectorRegs <<= 1;
VecTy = getVectorType(EltTy, NumElts);
}
// Check that VecTy isn't a 1-element vector.