Do not endian swap split vector loads. This fixes UnitTests/Vector/sumarray-dbl...
authorChris Lattner <sabre@nondot.org>
Fri, 31 Mar 2006 18:22:37 +0000 (18:22 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 31 Mar 2006 18:22:37 +0000 (18:22 +0000)
Now all UnitTests/Vector/* tests pass on PPC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27299 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

index 443bba5fc4e7fcdc361d2ac1e2a4f294195568f9..e689bdc7ad6db79174faf35939dab0a31b8ce698 100644 (file)
@@ -4453,8 +4453,6 @@ void SelectionDAGLegalize::SplitVectorOp(SDOperand Op, SDOperand &Lo,
     
     // Remember that we legalized the chain.
     AddLegalizedOperand(Op.getValue(1), LegalizeOp(TF));
-    if (!TLI.isLittleEndian())
-      std::swap(Lo, Hi);
     break;
   }
   case ISD::VBIT_CONVERT: {