File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1466,7 +1466,7 @@ void AArch64EpilogueEmitter::emitEpilogue() {
14661466 break ;
14671467 } else if (IsSwiftCoroPartialReturn) {
14681468 assert (!EmitCFI);
1469- assert (AFL. hasFP (MF) );
1469+ assert (HasFP );
14701470 fixupCalleeSaveRestoreStackOffset (*FirstGPRRestoreI,
14711471 AFI->getLocalStackSize ());
14721472 // if FP-based addressing, rewrite CSR restores from SP to FP
@@ -1693,6 +1693,10 @@ void AArch64EpilogueEmitter::emitEpilogue() {
16931693
16941694bool AArch64EpilogueEmitter::shouldCombineCSRLocalStackBump (
16951695 uint64_t StackBumpBytes) const {
1696+
1697+ if (AFI->hasPoplessEpilogue ())
1698+ return false ;
1699+
16961700 if (!AArch64PrologueEpilogueCommon::shouldCombineCSRLocalStackBump (
16971701 StackBumpBytes))
16981702 return false ;
You can’t perform that action at this time.
0 commit comments