[PATCH] D86101: [AArch64][SVE] Add missing debug info for ACLE types.

Sander de Smalen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 17 12:51:13 PDT 2020


sdesmalen created this revision.
sdesmalen added reviewers: rsandifo-arm, efriedma, rjmccall.
Herald added subscribers: llvm-commits, danielkiss, psnobl, hiraditya, kristof.beyls, tschuett, aprantl.
Herald added a reviewer: rengolin.
Herald added projects: clang, LLVM.
sdesmalen requested review of this revision.

This patch adds type information for SVE ACLE vector types,
by describing them as vectors, with a lower bound of 0, and
an upper bound described by a DWARF expression using the
AArch64 Vector Granule register (VG), which contains the
runtime multiple of 64bit granules in an SVE vector.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86101

Files:
  clang/lib/CodeGen/CGDebugInfo.cpp
  clang/test/CodeGen/aarch64-sve-intrinsics/acle_debug_vector_types.c
  clang/test/CodeGen/aarch64-sve-intrinsics/acle_debug_vectorx2_types.c
  clang/test/CodeGen/aarch64-sve-intrinsics/acle_debug_vectorx3_types.c
  clang/test/CodeGen/aarch64-sve-intrinsics/acle_debug_vectorx4_types.c
  llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86101.286114.patch
Type: text/x-patch
Size: 26324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200817/3092c9fc/attachment-0001.bin>


More information about the cfe-commits mailing list