[llvm-commits] [llvm] r69472 - /llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Chris Lattner
sabre at nondot.org
Sat Apr 18 13:48:07 PDT 2009
Author: lattner
Date: Sat Apr 18 15:48:07 2009
New Revision: 69472
URL: http://llvm.org/viewvc/llvm-project?rev=69472&view=rev
Log:
Fix PR3898, which manifests as failures on are an Xcore,
patch by Jakob Stoklund Olesen!
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp?rev=69472&r1=69471&r2=69472&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Sat Apr 18 15:48:07 2009
@@ -676,7 +676,7 @@
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.
More information about the llvm-commits
mailing list