diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-18 20:48:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-18 20:48:07 +0000 |
commit | abbee9c4f6195e670775cb2fe3a0decbe626e1db (patch) | |
tree | b2cb2be1fcea5fcf9b04a316b6e5b57e246b43c0 /lib/CodeGen | |
parent | 6a3a01eb07a391628766d95b3c4baeb3802b5b96 (diff) | |
download | external_llvm-abbee9c4f6195e670775cb2fe3a0decbe626e1db.zip external_llvm-abbee9c4f6195e670775cb2fe3a0decbe626e1db.tar.gz external_llvm-abbee9c4f6195e670775cb2fe3a0decbe626e1db.tar.bz2 |
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 7b83a12..96f815f 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/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. |