1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Apply the patch from PR8958, which allows llc to get slightly

further on the associated testcase before aborting.

llvm-svn: 123346
This commit is contained in:
Dan Gohman 2011-01-12 23:56:26 +00:00
parent b9cf8adbe7
commit 5bbd766a7b

View File

@ -1378,7 +1378,8 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) {
Result.getValueType(), Result.getValueType(),
Result, DAG.getValueType(SrcVT)); Result, DAG.getValueType(SrcVT));
else else
ValRes = DAG.getZeroExtendInReg(Result, dl, SrcVT); ValRes = DAG.getZeroExtendInReg(Result, dl,
SrcVT.getVectorElementType());
Tmp1 = LegalizeOp(ValRes); // Relegalize new nodes. Tmp1 = LegalizeOp(ValRes); // Relegalize new nodes.
Tmp2 = LegalizeOp(Result.getValue(1)); // Relegalize new nodes. Tmp2 = LegalizeOp(Result.getValue(1)); // Relegalize new nodes.
break; break;