mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
bug 2812: Segmentation fault on a big emdiam processor.
llvm-svn: 56609
This commit is contained in:
parent
6f5c6be90f
commit
1db9263b05
@ -2481,7 +2481,7 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) {
|
||||
ExpandOp(ST->getValue(), Lo, Hi);
|
||||
IncrementSize = Hi.getNode() ? Hi.getValueType().getSizeInBits()/8 : 0;
|
||||
|
||||
if (TLI.isBigEndian())
|
||||
if (Hi.getNode() && TLI.isBigEndian())
|
||||
std::swap(Lo, Hi);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user