Skip to content

Commit

Permalink
[Hexagon] Convert stack object offsets to int64, NFC
Browse files Browse the repository at this point in the history
This will print [SP-56] instead of [SP+4294967240].
  • Loading branch information
Krzysztof Parzyszek committed Nov 12, 2019
1 parent 67294c9 commit e3eb10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit e3eb10c

Please sign in to comment.