1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

This was lefted out. Fixed sumarray-dbl.

llvm-svn: 36445
This commit is contained in:
Evan Cheng 2007-04-25 18:33:21 +00:00
parent e5765bd115
commit c713a5ea36

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.