[PATCH] D145650: [X86] Create extra prolog/epilog for stack realignment

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 05:11:59 PDT 2023


LuoYuanke added inline comments.


================
Comment at: llvm/test/CodeGen/X86/i386-baseptr.ll:51
+; CHECK-NEXT:    subl $244, %esp
+; CHECK-NEXT:    movl %ecx, {{[-0-9]+}}(%e{{[sb]}}p) # 4-byte Spill
+; CHECK-NEXT:    .cfi_escape 0x10, 0x06, 0x02, 0x75, 0x7c #
----------------
The argument base register is saved to a normal stack slot.


================
Comment at: llvm/test/CodeGen/X86/i386-baseptr.ll:71
 ; CHECK-NEXT:    movl $0, (%ecx,%eax)
+; CHECK-NEXT:    movl {{[-0-9]+}}(%e{{[sb]}}p), %ecx # 4-byte Reload
 ; CHECK-NEXT:    leal -4(%ebp), %esp
----------------
The argument base register is restored from a normal stack 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145650/new/

https://reviews.llvm.org/D145650



More information about the llvm-commits mailing list