summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2011-10-20 13:38:16 +0000
committerNadav Rotem <nadav.rotem@intel.com>2011-10-20 13:38:16 +0000
commitfe3969293d0f6a113fd4518af578dce51fc06e8c (patch)
tree3a2a7bf76aa7e864ba562dc98ef78355b6b34ef1
parent8bece6fe698aa2f8488abe81a54e6c6c2618383b (diff)
downloadbcm5719-llvm-fe3969293d0f6a113fd4518af578dce51fc06e8c.tar.gz
bcm5719-llvm-fe3969293d0f6a113fd4518af578dce51fc06e8c.zip
Fix a type in the legalization of CONCAT_VECTORS.
llvm-svn: 142579
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
index a5c4c2ded4c..455307197c5 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(1);
+ SDValue Op0 = N->getOperand(0);
SDValue Op1 = N->getOperand(1);
assert(Op0.getValueType() == Op1.getValueType() &&
"Invalid input vector types");
OpenPOWER on IntegriCloud