[AArch64][SVE] Fix frame offset calculation when d8 is saved.
authorEli Friedman <efriedma@quicinc.com>
Tue, 22 Sep 2020 22:05:13 +0000 (15:05 -0700)
committerEli Friedman <efriedma@quicinc.com>
Wed, 23 Sep 2020 18:33:53 +0000 (11:33 -0700)
commitb92d084910b9febdafb9e701af6b73ddb7cac5af
treeb95ee38de6d4b3d1f4feb38c28beec11da832fda
parentd14cfe10341681d18edf05ac98da2c5241b0864e
[AArch64][SVE] Fix frame offset calculation when d8 is saved.

If d8 is saved, the fp is not actually adjacent to the SVE
spills/allocations.  Fix the offset calculation to account for this.

Differential Revision: https://reviews.llvm.org/D88117
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/test/CodeGen/AArch64/framelayout-sve.mir