diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-09-12 04:57:37 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-09-12 04:57:37 +0000 |
commit | 8ff00989fc14b2e85f8d81a94195e98e9ca243f0 (patch) | |
tree | 992dbb5dfc5e623395b57ad4d4b3d8843a586893 /llvm/lib/Analysis/LoopInfo.cpp | |
parent | 103f02820d20fd880792d3f4c179aead198597d5 (diff) | |
download | bcm5719-llvm-8ff00989fc14b2e85f8d81a94195e98e9ca243f0.tar.gz bcm5719-llvm-8ff00989fc14b2e85f8d81a94195e98e9ca243f0.zip |
Stack coloring: remove lifetime intervals which contain escaped allocas.
The input program may contain intructions which are not inside lifetime
markers. This can happen due to a bug in the compiler or due to a bug in
user code (for example, returning a reference to a local variable).
This commit adds checks that all of the instructions in the function and
invalidates lifetime ranges which do not contain all of the instructions.
llvm-svn: 163678
Diffstat (limited to 'llvm/lib/Analysis/LoopInfo.cpp')
0 files changed, 0 insertions, 0 deletions