[all-commits] [llvm/llvm-project] bc1425: [Clang][SVE] NFC: Move info about ACLE types into ...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Fri Aug 28 02:20:13 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: bc1425082be4a01a661fda974a8b90bfbbd14faf
      https://github.com/llvm/llvm-project/commit/bc1425082be4a01a661fda974a8b90bfbbd14faf
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/CodeGen/CodeGenTypes.cpp

  Log Message:
  -----------
  [Clang][SVE] NFC: Move info about ACLE types into separate function.

This function returns a struct `BuiltinVectorTypeInfo` that contains
the builtin vector's element type, element count and number of vectors
(used for vector tuples).

Reviewed By: c-rhodes

Differential Revision: https://reviews.llvm.org/D86100

(cherry picked from commit 0353848cc94f0fc23a953f8f420be7ee3342c8dc)


  Commit: 2bde1011ba1a794a0391a37d41d0b461dec89d54
      https://github.com/llvm/llvm-project/commit/2bde1011ba1a794a0391a37d41d0b461dec89d54
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    A llvm/test/CodeGen/AArch64/framelayout-sve-calleesaves-fix.mir

  Log Message:
  -----------
  [AArch64][SVE] Fix calculation restore point for SVE callee saves.

This fixes an issue where the restore point of callee-saves in the
function epilogues was incorrectly calculated when the basic block
consisted of only a RET instruction. This caused dealloc instructions
to be inserted in between the block of callee-save restore instructions,
rather than before it.

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D86099

(cherry picked from commit 5f47d4456d192eaea8c56a2b4648023c8743c927)


  Commit: f5c02e4855d3206e27e151dfdda457b95af33529
      https://github.com/llvm/llvm-project/commit/f5c02e4855d3206e27e151dfdda457b95af33529
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    A clang/test/CodeGen/aarch64-debug-sve-vector-types.c
    A clang/test/CodeGen/aarch64-debug-sve-vectorx2-types.c
    A clang/test/CodeGen/aarch64-debug-sve-vectorx3-types.c
    A clang/test/CodeGen/aarch64-debug-sve-vectorx4-types.c
    M clang/test/CodeGen/aarch64-sve.c
    M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
    A llvm/test/DebugInfo/AArch64/dbg-sve-types.ll

  Log Message:
  -----------
  [AArch64][SVE] Add missing debug info for ACLE types.

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.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D86101

(cherry picked from commit 4e9b66de3f046c1e97b34c938b0920fa6401f40c)


Compare: https://github.com/llvm/llvm-project/compare/dae9fe408793...f5c02e4855d3


More information about the All-commits mailing list