Fix PR3898, which manifests as failures on are an Xcore,

patch by Jakob Stoklund Olesen!

llvm-svn: 69472
This commit is contained in:
Chris Lattner 2009-04-18 20:48:07 +00:00
parent 623dcae172
commit 7b01e66443
1 changed files with 1 additions and 1 deletions

View File

@ -676,7 +676,7 @@ unsigned TargetLowering::getVectorTypeBreakdown(MVT VT,
NewVT = EltTy;
IntermediateVT = NewVT;
MVT DestVT = getTypeToTransformTo(NewVT);
MVT DestVT = getRegisterType(NewVT);
RegisterVT = DestVT;
if (DestVT.bitsLT(NewVT)) {
// Value is expanded, e.g. i64 -> i16.