diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-03-31 18:22:37 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-03-31 18:22:37 +0000 | 
| commit | d9e4daabd241d245657ae4dc9bec01bdb91a32c3 (patch) | |
| tree | 4d8b432005386c7009c9cf6ab8dce0d87abfd4c5 /llvm/lib/CodeGen | |
| parent | 8d90f526d73841b5ca5570a8425a292afedda0f9 (diff) | |
| download | bcm5719-llvm-d9e4daabd241d245657ae4dc9bec01bdb91a32c3.tar.gz bcm5719-llvm-d9e4daabd241d245657ae4dc9bec01bdb91a32c3.zip | |
Do not endian swap split vector loads.  This fixes UnitTests/Vector/sumarray-dbl on PPC.
Now all UnitTests/Vector/* tests pass on PPC.
llvm-svn: 27299
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 443bba5fc4e..e689bdc7ad6 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -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: { | 

