mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-06 19:31:13 +00:00
Only adjust esp around calls in presence of alloca.
llvm-svn: 40030
This commit is contained in:
parent
30e121adf6
commit
45eb268032
@ -429,7 +429,7 @@ bool ARMRegisterInfo::hasReservedCallFrame(MachineFunction &MF) const {
|
||||
if (CFSize >= ((1 << 12) - 1) / 2) // Half of imm12
|
||||
return false;
|
||||
}
|
||||
return !hasFP(MF);
|
||||
return !MF.getFrameInfo()->hasVarSizedObjects();
|
||||
}
|
||||
|
||||
/// emitARMRegPlusImmediate - Emits a series of instructions to materialize
|
||||
|
Loading…
Reference in New Issue
Block a user