diff options
author | Dan Gohman <gohman@apple.com> | 2011-01-12 23:56:26 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2011-01-12 23:56:26 +0000 |
commit | b86654385a394d8bdfe0cd6e3b5d57e9f3cb0eae (patch) | |
tree | 79303a5cabcf9c9d8b839202773e3fc145c93519 /lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | 9df536ca7873af6dd9d9ca4aa6cea2872de5c028 (diff) | |
download | external_llvm-b86654385a394d8bdfe0cd6e3b5d57e9f3cb0eae.zip external_llvm-b86654385a394d8bdfe0cd6e3b5d57e9f3cb0eae.tar.gz external_llvm-b86654385a394d8bdfe0cd6e3b5d57e9f3cb0eae.tar.bz2 |
Apply the patch from PR8958, which allows llc to get slightly
further on the associated testcase before aborting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index d0d9e58..eb697ba 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -1378,7 +1378,8 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) { 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; |