[PATCH] D70080: [AArch64][SVE] Allocate locals that are scalable vectors.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 06:51:06 PST 2019


sdesmalen created this revision.
sdesmalen added reviewers: ostannard, efriedma, rengolin, cameron.mcinally.
Herald added subscribers: psnobl, rkruppe, hiraditya, kristof.beyls, tschuett.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70080

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70080.228685.patch
Type: text/x-patch
Size: 9991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191111/aca23938/attachment-0001.bin>


More information about the llvm-commits mailing list