This patch implements dynamic stack allocation for the VE target. Changes:
- compiler-rt: __ve_grow_stack to request stack allocation on the VE.
- VE: base pointer support, dynamic stack allocation.
simoll on Apr 29 2020, 6:10 AM.Authored by
Sorry for late reply. I originally want to use it's own calling convention to allow caller to not spill registers since many program may call this function to grow their stack. Is it not acceptable in general? Or it's OK if there is a reason?
It's OK to upstreaming C CC as a first step. I would like to know what we should do to improve the performance of alloca or dynamic stack allocation in C++. Thanks!