mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 08:46:37 +00:00
Fix warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15697 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
750d723062
commit
9d9d84b3e3
@ -58,7 +58,7 @@ static unsigned getStaticStackSize (MachineFunction &MF) {
|
||||
|
||||
unsigned staticStackSize = MF.getInfo()->getStaticStackSize();
|
||||
|
||||
if (staticStackSize < SparcV9FrameInfo::MinStackFrameSize)
|
||||
if (staticStackSize < (unsigned)SparcV9FrameInfo::MinStackFrameSize)
|
||||
staticStackSize = SparcV9FrameInfo::MinStackFrameSize;
|
||||
if (unsigned padsz = staticStackSize %
|
||||
SparcV9FrameInfo::StackFrameSizeAlignment)
|
||||
|
Loading…
Reference in New Issue
Block a user