[PATCH] D116628: [X86] add dwarf information for loop stack probe

Erik Desjardins via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 4 14:26:04 PST 2022


erikdesjardins created this revision.
erikdesjardins added reviewers: serge-sans-paille, nagisa, efriedma, lkail, pengfei, craig.topper.
Herald added a subscriber: hiraditya.
erikdesjardins requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch is based on https://reviews.llvm.org/D99585.

While inside the stack probing loop, temporarily change the CFA
to be based on r11/eax, which are already used to hold the loop bound.

Co-authored-by: YangKeao <keao.yang at yahoo.com>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116628

Files:
  llvm/lib/Target/X86/X86FrameLowering.cpp
  llvm/test/CodeGen/X86/stack-clash-large.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116628.397406.patch
Type: text/x-patch
Size: 5813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220104/e5b41959/attachment.bin>


More information about the llvm-commits mailing list