[PATCH] D84042: [AArch64][SVE] Fix alignment of last predicate callee save
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 17 09:37:27 PDT 2020
sdesmalen created this revision.
sdesmalen added reviewers: efriedma, paulwalker-arm, david-arm.
Herald added subscribers: danielkiss, psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: rengolin.
Herald added a project: LLVM.
This patch aligns the behaviour of computeCalleeSaveRegisterPairs,
which calculates the offset at which the predicate CSR is stored
within the callee-saves, with that of determineSVEStackObjectOffsets,
which calculates the offsets of all objects, including the callee-saves.
This change is needed to make sure the actual offset corresponds to
the info used for e.g. unwind call frame instructions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D84042
Files:
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/test/CodeGen/AArch64/framelayout-sve.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84042.278809.patch
Type: text/x-patch
Size: 4141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200717/0c423994/attachment.bin>
More information about the llvm-commits
mailing list