[llvm-commits] [llvm] r142604 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp

Chad Rosier mcrosier at apple.com
Thu Oct 20 12:19:10 PDT 2011


Author: mcrosier
Date: Thu Oct 20 14:19:10 2011
New Revision: 142604

URL: http://llvm.org/viewvc/llvm-project?rev=142604&view=rev
Log:
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.

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=142604&r1=142603&r2=142604&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp Thu Oct 20 14:19:10 2011
@@ -2926,7 +2926,7 @@
 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");





More information about the llvm-commits mailing list