mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
big endian systems shift by bits too, hopefully this will fix the ppc
bootstrap problems. llvm-svn: 82464
This commit is contained in:
parent
3359b05815
commit
1d9ca20bf5
@ -1202,7 +1202,7 @@ static Value *GetStoreValueForLoad(Value *SrcVal, unsigned Offset,
|
||||
if (TD.isLittleEndian()) {
|
||||
ShiftAmt = Offset*8;
|
||||
} else {
|
||||
ShiftAmt = StoreSize-LoadSize-Offset;
|
||||
ShiftAmt = (StoreSize-LoadSize-Offset)*8;
|
||||
}
|
||||
|
||||
if (ShiftAmt)
|
||||
|
Loading…
Reference in New Issue
Block a user