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

patch by Jakob Stoklund Olesen!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69472 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-04-18 20:48:07 +00:00
parent b10b5ac8d9
commit 2f992d13ea

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.