summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-18 20:48:07 +0000
committerChris Lattner <sabre@nondot.org>2009-04-18 20:48:07 +0000
commit7b01e6644335f0b07eedbfa8fdb18e6178f10c29 (patch)
treeeec98ddb44fb19cb8b6b93efe9b8eace2d534c6a /llvm/lib
parent623dcae1726ec3da6002055cf16ffdde27d394a4 (diff)
downloadbcm5719-llvm-7b01e6644335f0b07eedbfa8fdb18e6178f10c29.tar.gz
bcm5719-llvm-7b01e6644335f0b07eedbfa8fdb18e6178f10c29.zip
Fix PR3898, which manifests as failures on are an Xcore,
patch by Jakob Stoklund Olesen! llvm-svn: 69472
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 7b83a127074..96f815f599b 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -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.
OpenPOWER on IntegriCloud