[PATCH] D79084: [VE] Dynamic stack allocation

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 06:24:08 PDT 2020


simoll created this revision.
simoll added reviewers: arsenm, k-ishizaka, kaz7.
simoll added a project: VE.
Herald added subscribers: llvm-commits, Sanitizers, s.egerton, simoncook, fedor.sergeev, aheejin, hiraditya, mgorny, wdng.
Herald added projects: Sanitizers, LLVM.

This patch implements dynamic stack allocation for the VE target. Changes:

- compiler-rt: `llvm_grow_stack` to request stack allocation on the VE.
- CallingConv: a matching `llvm_grow_stack` CC.
- VE: base pointer support, dynamic stack allocation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79084

Files:
  compiler-rt/cmake/Modules/CompilerRTUtils.cmake
  compiler-rt/cmake/base-config-ix.cmake
  compiler-rt/cmake/builtin-config-ix.cmake
  compiler-rt/lib/builtins/CMakeLists.txt
  compiler-rt/lib/builtins/ve/llvm_grow_stack.S
  compiler-rt/lib/builtins/ve/llvm_grow_stack_align.S
  llvm/include/llvm/IR/CallingConv.h
  llvm/lib/Target/VE/VECallingConv.td
  llvm/lib/Target/VE/VEFrameLowering.cpp
  llvm/lib/Target/VE/VEFrameLowering.h
  llvm/lib/Target/VE/VEISelLowering.cpp
  llvm/lib/Target/VE/VEISelLowering.h
  llvm/lib/Target/VE/VEInstrInfo.cpp
  llvm/lib/Target/VE/VEInstrInfo.h
  llvm/lib/Target/VE/VEInstrInfo.td
  llvm/lib/Target/VE/VERegisterInfo.cpp
  llvm/test/CodeGen/VE/alloca.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79084.260897.patch
Type: text/x-patch
Size: 29650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200429/3e956f16/attachment.bin>


More information about the llvm-commits mailing list