git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123193
91177308-0d34-0410-b5e6-
96231b3b80d8
}
// If the frame has variable sized objects then the epilogue must restore
}
// If the frame has variable sized objects then the epilogue must restore
+ // the sp from fp. We can assume there's an FP here since hasFP already
+ // checks for hasVarSizedObjects.
if (MFI->hasVarSizedObjects())
AFI->setShouldRestoreSPFromFP(true);
}
if (MFI->hasVarSizedObjects())
AFI->setShouldRestoreSPFromFP(true);
}