[all-commits] [llvm/llvm-project] d7b0e5: X86: fix frame offset calculation with mandatory t...
Tim Northover via All-commits
all-commits at lists.llvm.org
Wed Aug 4 02:02:54 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d7b0e5525a4e809cf61a4e1c82f000af781cbab4
https://github.com/llvm/llvm-project/commit/d7b0e5525a4e809cf61a4e1c82f000af781cbab4
Author: Tim Northover <t.p.northover at gmail.com>
Date: 2021-08-04 (Wed, 04 Aug 2021)
Changed paths:
M llvm/lib/Target/X86/X86FrameLowering.cpp
Log Message:
-----------
X86: fix frame offset calculation with mandatory tail calls
If there's a region of the stack reserved for potential tail call arguments
(only the case when we guarantee tail calls will be honoured), this is right
next to the incoming stored return address, not necessarily next to the
callee-saved area, so combining the two into a single figure leads to incorrect
offsets in some edge cases.
More information about the All-commits
mailing list