diff options
author | Duncan Sands <baldrick@free.fr> | 2009-01-07 19:39:06 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-01-07 19:39:06 +0000 |
commit | 289f59f233fe05d609c37a5e41c4171d0deb15de (patch) | |
tree | fb8ac07357e914cc1a0d723d73366a58049bd852 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b97e96350fcafcdbd2649190979976018d18775d (diff) | |
download | bcm5719-llvm-289f59f233fe05d609c37a5e41c4171d0deb15de.tar.gz bcm5719-llvm-289f59f233fe05d609c37a5e41c4171d0deb15de.zip |
Remove alloca tracking from nocapture analysis. Not only
was it not very helpful, it was also wrong! The problem
is shown in the testcase: the alloca might be passed to
a nocapture callee which dereferences it and returns the
original pointer. But because it was a nocapture call we
think we don't need to track its uses, but we do.
llvm-svn: 61876
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions