[llvm] [AArch64][Windows] Fix swift async context slot placement (PR #212922)

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 31 11:55:26 PDT 2026


================
@@ -2858,8 +2852,7 @@ bool AArch64FrameLowering::assignCalleeSavedSpillSlots(
     MFI.setIsCalleeSavedObjectIndex(FrameIdx, true);
 
     // Grab 8 bytes below FP for the extended asynchronous frame info.
-    if (hasFP(MF) && AFI->hasSwiftAsyncContext() && !IsWindows &&
-        Reg == AArch64::FP) {
+    if (hasFP(MF) && AFI->hasSwiftAsyncContext() && Reg == AArch64::FP) {
       FrameIdx = MFI.CreateStackObject(8, Alignment, true);
----------------
compnerd wrote:

Do we need to worry about the `Alignment`?

https://github.com/llvm/llvm-project/pull/212922


More information about the llvm-commits mailing list