Skip to content

Commit cc33525

Browse files
committed
Format
1 parent 720ee89 commit cc33525

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Target/AArch64/AArch64PrologueEpilogue.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ AArch64PrologueEpilogueCommon::AArch64PrologueEpilogueCommon(
9797
NeedsWinCFI = AFL.needsWinCFI(MF);
9898

9999
// Windows unwind can't represent the required stack adjustments if we have
100-
// both SVE callee-saves and dynamic stack allocations, and the frame
101-
// pointer is before the SVE spills. The allocation of the frame pointer
102-
// must be the last instruction in the prologue so the unwinder can restore
103-
// the stack pointer correctly. (And there isn't any unwind opcode for
104-
// `addvl sp, x29, -17`.)
100+
// both SVE callee-saves and dynamic stack allocations, and the frame pointer
101+
// is before the SVE spills. The allocation of the frame pointer must be the
102+
// last instruction in the prologue so the unwinder can restore the stack
103+
// pointer correctly. (And there isn't any unwind opcode for `addvl sp, x29,
104+
// -17`.)
105105
//
106106
// Because of this, we do spills in the opposite order on Windows: first SVE,
107107
// then GPRs. The main side-effect of this is that it makes accessing

0 commit comments

Comments
 (0)