[llvm-commits] [llvm] r142579 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Nadav Rotem
nadav.rotem at intel.com
Thu Oct 20 06:38:17 PDT 2011
Author: nadav
Date: Thu Oct 20 08:38:16 2011
New Revision: 142579
URL: http://llvm.org/viewvc/llvm-project?rev=142579&view=rev
Log:
Fix a type in the legalization of CONCAT_VECTORS.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp?rev=142579&r1=142578&r2=142579&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp Thu Oct 20 08:38:16 2011
@@ -2926,7 +2926,7 @@
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");
More information about the llvm-commits
mailing list