[PATCH] D158410: [AArch64] Test update for a510 generic sched. NFC

harvin iriawan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 21 04:45:12 PDT 2023


harviniriawan created this revision.
harviniriawan added a reviewer: dmgreen.
Herald added a subscriber: kristof.beyls.
Herald added a project: All.
harviniriawan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158410

Files:
  llvm/test/CodeGen/AArch64/win64_vararg2.ll


Index: llvm/test/CodeGen/AArch64/win64_vararg2.ll
===================================================================
--- llvm/test/CodeGen/AArch64/win64_vararg2.ll
+++ llvm/test/CodeGen/AArch64/win64_vararg2.ll
@@ -39,26 +39,30 @@
 ; GISEL-LABEL: va_func:
 ; GISEL:       .seh_proc va_func
 ; GISEL-NEXT:  // %bb.0:
-; GISEL-NEXT:    str x19, [sp, #-64]! // 8-byte Folded Spill
-; GISEL-NEXT:    .seh_save_reg_x x19, 64
-; GISEL-NEXT:    str x30, [sp, #8] // 8-byte Folded Spill
-; GISEL-NEXT:    .seh_save_reg x30, 8
+; GISEL-NEXT:    sub sp, sp, #80
+; GISEL-NEXT:    .seh_stackalloc 80
+; GISEL-NEXT:    str x19, [sp, #16] // 8-byte Folded Spill
+; GISEL-NEXT:    .seh_save_reg x19, 16
+; GISEL-NEXT:    str x30, [sp, #24] // 8-byte Folded Spill
+; GISEL-NEXT:    .seh_save_reg x30, 24
 ; GISEL-NEXT:    .seh_endprologue
-; GISEL-NEXT:    stp x3, x4, [sp, #24]
+; GISEL-NEXT:    stp x3, x4, [sp, #40]
 ; GISEL-NEXT:    mov w19, w0
-; GISEL-NEXT:    stp x5, x6, [sp, #40]
-; GISEL-NEXT:    str x7, [sp, #56]
-; GISEL-NEXT:    str w0, [sp, #4]
-; GISEL-NEXT:    strb w1, [sp, #3]
-; GISEL-NEXT:    strb w2, [sp, #2]
+; GISEL-NEXT:    stp x5, x6, [sp, #56]
+; GISEL-NEXT:    str x7, [sp, #72]
+; GISEL-NEXT:    str w0, [sp, #12]
+; GISEL-NEXT:    strb w1, [sp, #11]
+; GISEL-NEXT:    strb w2, [sp, #10]
 ; GISEL-NEXT:    bl other
 ; GISEL-NEXT:    cmp w19, w0
 ; GISEL-NEXT:    cset w0, ls
 ; GISEL-NEXT:    .seh_startepilogue
-; GISEL-NEXT:    ldr x30, [sp, #8] // 8-byte Folded Reload
-; GISEL-NEXT:    .seh_save_reg x30, 8
-; GISEL-NEXT:    ldr x19, [sp], #64 // 8-byte Folded Reload
-; GISEL-NEXT:    .seh_save_reg_x x19, 64
+; GISEL-NEXT:    ldr x30, [sp, #24] // 8-byte Folded Reload
+; GISEL-NEXT:    .seh_save_reg x30, 24
+; GISEL-NEXT:    ldr x19, [sp, #16] // 8-byte Folded Reload
+; GISEL-NEXT:    .seh_save_reg x19, 16
+; GISEL-NEXT:    add sp, sp, #80
+; GISEL-NEXT:    .seh_stackalloc 80
 ; GISEL-NEXT:    .seh_endepilogue
 ; GISEL-NEXT:    ret
 ; GISEL-NEXT:    .seh_endfunclet


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158410.551984.patch
Type: text/x-patch
Size: 1994 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230821/6ea7a682/attachment.bin>


More information about the llvm-commits mailing list