[all-commits] [llvm/llvm-project] 9a1c24: [AArch64][SVE] Allocate locals that are scalable v...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Wed Nov 13 01:47:53 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a1c243aa5ded10f7b39887b2be073d0bcfbf5c9
      https://github.com/llvm/llvm-project/commit/9a1c243aa5ded10f7b39887b2be073d0bcfbf5c9
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetFrameLowering.h
    M llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64FrameLowering.h
    M llvm/test/CodeGen/AArch64/framelayout-sve.mir
    A llvm/test/CodeGen/AArch64/sve-alloca-stackid.ll

  Log Message:
  -----------
  [AArch64][SVE] Allocate locals that are scalable vectors.

This patch adds a target interface to set the StackID for a given type,
which allows scalable vectors (e.g. `<vscale x 16 x i8>`) to be assigned a
'sve-vec' StackID, so it is allocated in the SVE area of the stack frame.

Reviewers: ostannard, efriedma, rengolin, cameron.mcinally

Reviewed By: efriedma

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




More information about the All-commits mailing list