mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 06:06:19 +00:00
Missed alignment argument on stores lowered from memcpy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53281 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
526be70f94
commit
1afe5c3ff8
@ -2813,7 +2813,7 @@ static SDOperand getMemcpyLoadsAndStores(SelectionDAG &DAG,
|
||||
Value = getMemsetStringVal(VT, DAG, TLI, Str, SrcOff);
|
||||
Store = DAG.getStore(Chain, Value,
|
||||
getMemBasePlusOffset(Dst, DstOff, DAG),
|
||||
DstSV, DstSVOff + DstOff);
|
||||
DstSV, DstSVOff + DstOff, false, DstAlign);
|
||||
} else {
|
||||
Value = DAG.getLoad(VT, Chain,
|
||||
getMemBasePlusOffset(Src, SrcOff, DAG),
|
||||
|
Loading…
Reference in New Issue
Block a user