Files
clang-p2996/llvm/test/CodeGen/X86/stack-clash-large.ll
Erik Desjardins a8ac117d98 [X86] add dwarf information for loop stack probe
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.
The stack pointer cannot be used for CFI here as it changes during the loop,
so it does not have a constant offset to the CFA.

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

Reviewed By: nagisa

Differential Revision: https://reviews.llvm.org/D116628
2022-01-07 15:02:59 +08:00

8.6 KiB