[all-commits] [llvm/llvm-project] 2e0940: [X86] Fix for offsets of CFA directives
Theodoros Kasampalis via All-commits
all-commits at lists.llvm.org
Mon Feb 27 19:04:42 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2e0940c6a0857e3cc6aecfe7dd0c4cde94e1ae9a
https://github.com/llvm/llvm-project/commit/2e0940c6a0857e3cc6aecfe7dd0c4cde94e1ae9a
Author: Theodoros Kasampalis <kasampalis.theodoros at gmail.com>
Date: 2023-02-28 (Tue, 28 Feb 2023)
Changed paths:
M llvm/lib/Target/X86/X86FrameLowering.cpp
A llvm/test/CodeGen/X86/tailcc-dwarf.ll
Log Message:
-----------
[X86] Fix for offsets of CFA directives
`emitPrologue` may insert stack pointer adjustment in tail call optimized functions where the callee argument stack size is bigger than the caller's. In such a case, the adjustment must be taken into account when generating CFA directives.
Reviewed By: pengfei
Differential Revision: https://reviews.llvm.org/D143618
More information about the All-commits
mailing list