summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-01-13 00:48:10 +0000
committerReid Kleckner <reid@kleckner.net>2015-01-13 00:48:10 +0000
commite9b893187333ca069b5aed697ad784865e42f79f (patch)
treee17ad1b3279b4a6383370b0739b862f1b0635790 /llvm/lib/CodeGen/CodeGen.cpp
parent845755c4bb6c55eca84700060de706331ba77a71 (diff)
downloadbcm5719-llvm-e9b893187333ca069b5aed697ad784865e42f79f.tar.gz
bcm5719-llvm-e9b893187333ca069b5aed697ad784865e42f79f.zip
Add the llvm.frameallocate and llvm.recoverframeallocation intrinsics
These intrinsics allow multiple functions to share a single stack allocation from one function's call frame. The function with the allocation may only perform one allocation, and it must be in the entry block. Functions accessing the allocation call llvm.recoverframeallocation with the function whose frame they are accessing and a frame pointer from an active call frame of that function. These intrinsics are very difficult to inline correctly, so the intention is that they be introduced rarely, or at least very late during EH preparation. Reviewers: echristo, andrew.w.kaylor Differential Revision: http://reviews.llvm.org/D6493 llvm-svn: 225746
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud