[PATCH] D84044: [AArch64][SVE] Add missing unwind info for SVE registers.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 17 09:45:45 PDT 2020


sdesmalen created this revision.
sdesmalen added reviewers: efriedma, pcc.
Herald added subscribers: danielkiss, psnobl, hiraditya, kristof.beyls, tschuett, aprantl.
Herald added a reviewer: rengolin.
Herald added a project: LLVM.

This patch adds a CFI entry for each SVE callee saved register
that needs unwind info at an offset from the CFA. The offset is
a DWARF expression because the offset is partly scalable.

The CFI entries only cover a subset of the SVE callee-saves and
only encodes the lower 64-bits, thus implementing the lowest
common denominator ABI. Existing unwinders may support VG but
only restore the lower 64-bits.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84044

Files:
  llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
  llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
  llvm/lib/Target/AArch64/AArch64RegisterInfo.h
  llvm/test/CodeGen/AArch64/framelayout-sve.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84044.278814.patch
Type: text/x-patch
Size: 12209 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200717/fd1582b7/attachment.bin>


More information about the llvm-commits mailing list