mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-10 16:24:04 +00:00
fix some whitespace stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58319 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0fed8bf91f
commit
7fe5e1812f
@ -2834,7 +2834,7 @@ bool MeetsMaxMemopRequirement(std::vector<MVT> &MemOps,
|
|||||||
isSrcStr = isMemSrcFromString(Src, Str);
|
isSrcStr = isMemSrcFromString(Src, Str);
|
||||||
bool isSrcConst = isa<ConstantSDNode>(Src);
|
bool isSrcConst = isa<ConstantSDNode>(Src);
|
||||||
bool AllowUnalign = TLI.allowsUnalignedMemoryAccesses();
|
bool AllowUnalign = TLI.allowsUnalignedMemoryAccesses();
|
||||||
MVT VT= TLI.getOptimalMemOpType(Size, Align, isSrcConst, isSrcStr);
|
MVT VT = TLI.getOptimalMemOpType(Size, Align, isSrcConst, isSrcStr);
|
||||||
if (VT != MVT::iAny) {
|
if (VT != MVT::iAny) {
|
||||||
unsigned NewAlign = (unsigned)
|
unsigned NewAlign = (unsigned)
|
||||||
TLI.getTargetData()->getABITypeAlignment(VT.getTypeForMVT());
|
TLI.getTargetData()->getABITypeAlignment(VT.getTypeForMVT());
|
||||||
@ -3048,8 +3048,8 @@ static SDValue getMemsetStores(SelectionDAG &DAG,
|
|||||||
unsigned VTSize = VT.getSizeInBits() / 8;
|
unsigned VTSize = VT.getSizeInBits() / 8;
|
||||||
SDValue Value = getMemsetValue(Src, VT, DAG);
|
SDValue Value = getMemsetValue(Src, VT, DAG);
|
||||||
SDValue Store = DAG.getStore(Chain, Value,
|
SDValue Store = DAG.getStore(Chain, Value,
|
||||||
getMemBasePlusOffset(Dst, DstOff, DAG),
|
getMemBasePlusOffset(Dst, DstOff, DAG),
|
||||||
DstSV, DstSVOff + DstOff);
|
DstSV, DstSVOff + DstOff);
|
||||||
OutChains.push_back(Store);
|
OutChains.push_back(Store);
|
||||||
DstOff += VTSize;
|
DstOff += VTSize;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user