llvm-svn: 112215
This commit is contained in:
Devang Patel 2010-08-26 20:32:32 +00:00
parent d7e54804ee
commit 977057f481
1 changed files with 2 additions and 1 deletions

View File

@ -448,7 +448,8 @@ static void getCopyToPartsVector(SelectionDAG &DAG, DebugLoc DL,
EVT IntermediateVT, RegisterVT;
unsigned NumIntermediates;
unsigned NumRegs = TLI.getVectorTypeBreakdown(*DAG.getContext(), ValueVT,
IntermediateVT, NumIntermediates, RegisterVT);
IntermediateVT,
NumIntermediates, RegisterVT);
unsigned NumElements = ValueVT.getVectorNumElements();
assert(NumRegs == NumParts && "Part count doesn't match vector breakdown!");