diff options
author | Chad Rosier <mcrosier@apple.com> | 2011-10-20 19:19:10 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2011-10-20 19:19:10 +0000 |
commit | 4236a63c3cf0249a24ff5f0b18e5925956a00902 (patch) | |
tree | f15e3b56cb6db04d1d56a89b6a00ba3ad47bf543 /llvm/lib/CodeGen | |
parent | 9d0b223cfa0d2663e93d93b811adea99e1ad577f (diff) | |
download | bcm5719-llvm-4236a63c3cf0249a24ff5f0b18e5925956a00902.tar.gz bcm5719-llvm-4236a63c3cf0249a24ff5f0b18e5925956a00902.zip |
Revert r142579, "Fix a type in the legalization of CONCAT_VECTORS". This is
causing one of the unit tests to infinitely loop, which resulted in the
buildbots stalling.
llvm-svn: 142604
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp index 455307197c5..a5c4c2ded4c 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp @@ -2926,7 +2926,7 @@ SDValue DAGTypeLegalizer::PromoteIntRes_SCALAR_TO_VECTOR(SDNode *N) { SDValue DAGTypeLegalizer::PromoteIntRes_CONCAT_VECTORS(SDNode *N) { DebugLoc dl = N->getDebugLoc(); - SDValue Op0 = N->getOperand(0); + SDValue Op0 = N->getOperand(1); SDValue Op1 = N->getOperand(1); assert(Op0.getValueType() == Op1.getValueType() && "Invalid input vector types"); |