diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-09-19 08:08:04 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-09-19 08:08:04 +0000 |
commit | 92df026f0da91dc65ef6186e97ff87b1f53e8cd0 (patch) | |
tree | 3234226bbf5d5452d9ae30dad950408a61de4757 /lib/Transforms/Utils/SimplifyIndVar.cpp | |
parent | 93ba133906da4b12a7c732b897e64541cc570120 (diff) |
Prevent inlining of callees which allocate lots of memory into a recursive caller.
Example:
void foo() {
... foo(); // I'm recursive!
bar();
}
bar() { int a[1000]; // large stack size }
rdar://10853263
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyIndVar.cpp')
0 files changed, 0 insertions, 0 deletions