[llvm-commits] [llvm] r123346 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Dan Gohman
gohman at apple.com
Wed Jan 12 15:56:26 PST 2011
Author: djg
Date: Wed Jan 12 17:56:26 2011
New Revision: 123346
URL: http://llvm.org/viewvc/llvm-project?rev=123346&view=rev
Log:
Apply the patch from PR8958, which allows llc to get slightly
further on the associated testcase before aborting.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp?rev=123346&r1=123345&r2=123346&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Wed Jan 12 17:56:26 2011
@@ -1378,7 +1378,8 @@
Result.getValueType(),
Result, DAG.getValueType(SrcVT));
else
- ValRes = DAG.getZeroExtendInReg(Result, dl, SrcVT);
+ ValRes = DAG.getZeroExtendInReg(Result, dl,
+ SrcVT.getVectorElementType());
Tmp1 = LegalizeOp(ValRes); // Relegalize new nodes.
Tmp2 = LegalizeOp(Result.getValue(1)); // Relegalize new nodes.
break;
More information about the llvm-commits
mailing list