summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-08-30 19:47:04 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-08-30 19:47:04 +0000
commit94d32536260f9e181cdf848df841de4628ebd49c (patch)
tree666e46740ff0716966e0473bd9499c9d73be2ba6 /llvm/unittests/Transforms
parent3a5094b18c052eb8a519ac2249848ae77cad7c6e (diff)
downloadbcm5719-llvm-94d32536260f9e181cdf848df841de4628ebd49c.tar.gz
bcm5719-llvm-94d32536260f9e181cdf848df841de4628ebd49c.zip
Adds support for variable sized allocas. For a variable sized alloca,
code is inserted to first check if the current stacklet has enough space. If so, space is allocated by simply decrementing the stack pointer. Otherwise a runtime routine (__morestack_allocate_stack_space in libgcc) is called which allocates the required memory from the heap. Patch by Sanjoy Das. llvm-svn: 138818
Diffstat (limited to 'llvm/unittests/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud