forked from OSchip/llvm-project
[Hexagon] Convert stack object offsets to int64, NFC
This will print [SP-56] instead of [SP+4294967240].
This commit is contained in:
parent
67294c97fb
commit
e3eb10c541
|
@ -1372,7 +1372,7 @@ void HexagonFrameLowering::processFunctionBeforeFrameFinalized(
|
||||||
unsigned A = std::max(MFI.getObjectAlignment(i), 8U);
|
unsigned A = std::max(MFI.getObjectAlignment(i), 8U);
|
||||||
MFI.setObjectAlignment(i, 8);
|
MFI.setObjectAlignment(i, 8);
|
||||||
LFS = alignTo(LFS+S, A);
|
LFS = alignTo(LFS+S, A);
|
||||||
MFI.mapLocalFrameObject(i, -LFS);
|
MFI.mapLocalFrameObject(i, -static_cast<int64_t>(LFS));
|
||||||
}
|
}
|
||||||
|
|
||||||
MFI.setLocalFrameSize(LFS);
|
MFI.setLocalFrameSize(LFS);
|
||||||
|
|
Loading…
Reference in New Issue