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 | 2f992d13ea0ccfe3f9ce359b4c534d9b34b0e7cd (patch) | |
tree | b2cb2be1fcea5fcf9b04a316b6e5b57e246b43c0 /lib/CodeGen | |
parent | b10b5ac8d9da43ca2db61401a20af6b676c98438 (diff) | |
download | external_llvm-2f992d13ea0ccfe3f9ce359b4c534d9b34b0e7cd.zip external_llvm-2f992d13ea0ccfe3f9ce359b4c534d9b34b0e7cd.tar.gz external_llvm-2f992d13ea0ccfe3f9ce359b4c534d9b34b0e7cd.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. |