1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

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 d2ba02aa87
commit 9b80af1a86

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.