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 | c741ea424a290373b24b06b77f161d06f08f7fa7 (patch) | |
tree | b82782325b0d4900008c8e3e87d3c59637ffbe51 | |
parent | d9731af75b38f30c02f19d6e81333b9c2599ad5f (diff) |
Do not endian swap split vector loads. This fixes UnitTests/Vector/sumarray-dbl on PPC.
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
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 443bba5fc4..e689bdc7ad 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/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: { |