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 | e65177f965063c16321166c13d90a91aa57b5ee8 (patch) | |
tree | 6e4b06644fde6bb4ee3a36bd04580f66b1f5643c /lib/CodeGen | |
parent | 06e16bbec02d289552f942abe7a6353b51cdb5ea (diff) | |
download | external_llvm-e65177f965063c16321166c13d90a91aa57b5ee8.zip external_llvm-e65177f965063c16321166c13d90a91aa57b5ee8.tar.gz external_llvm-e65177f965063c16321166c13d90a91aa57b5ee8.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp index 4553071..a5c4c2d 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp +++ b/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"); |