forked from OSchip/llvm-project
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
This commit is contained in:
parent
8d90f526d7
commit
d9e4daabd2
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue