[PATCH] D71754: [AArch64] Fix save register pairing for Windows AAPCS
Sanne Wouda via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 20 05:38:56 PST 2019
sanwou01 created this revision.
sanwou01 added reviewers: efriedma, sdesmalen, rovka, rengolin, t.p.northover, thegameg, greened.
Herald added subscribers: llvm-commits, hiraditya, kristof.beyls.
Herald added a project: LLVM.
On Windows, when a function does not have an unwind table (for example, EH
filtering funclets), we don't correctly pair FP and LR to form the frame record
in all circumstances.
Fix this by invalidating a pair when the second register is FP when compiling
for Windows, even when CFI is not needed.
Fixes PR44271 introduced by D65653 <https://reviews.llvm.org/D65653>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71754
Files:
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/test/CodeGen/AArch64/win64-no-uwtable.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71754.234868.patch
Type: text/x-patch
Size: 3889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191220/dfec8ee9/attachment-0001.bin>
More information about the llvm-commits
mailing list