[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 15:48:21 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) {
----------------
compnerd wrote:

okay, so the shape itself is safe, that resolve this point.

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


More information about the llvm-commits mailing list