diff options
author | Krzysztof Parzyszek <kparzysz@quicinc.com> | 2019-11-11 08:49:07 -0600 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@quicinc.com> | 2019-11-12 09:43:21 -0600 |
commit | e3eb10c5419d89171bc97ca21aba7c381827c45e (patch) | |
tree | ce328783f88f6c209aac16b250e5b8518a266c52 | |
parent | 67294c97fbfde6541b5f89d9d83c7fcba31c5f3b (diff) | |
download | bcm5719-llvm-e3eb10c5419d89171bc97ca21aba7c381827c45e.tar.gz bcm5719-llvm-e3eb10c5419d89171bc97ca21aba7c381827c45e.zip |
[Hexagon] Convert stack object offsets to int64, NFC
This will print [SP-56] instead of [SP+4294967240].
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp b/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp index 1d3d2ea8c55..e29dab266ab 100644 --- a/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp +++ b/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp @@ -1372,7 +1372,7 @@ void HexagonFrameLowering::processFunctionBeforeFrameFinalized( unsigned A = std::max(MFI.getObjectAlignment(i), 8U); MFI.setObjectAlignment(i, 8); LFS = alignTo(LFS+S, A); - MFI.mapLocalFrameObject(i, -LFS); + MFI.mapLocalFrameObject(i, -static_cast<int64_t>(LFS)); } MFI.setLocalFrameSize(LFS); |