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 | 8b3fc692a759db39344f2d84cb1a65730305363c (patch) | |
tree | 0ed275c6b2ae9046df57a9ac8191cb0242c0ca4f /lib/Transforms/IPO/InlineAlways.cpp | |
parent | 2cb881d879bcbd1c65eed1629f429133c7286c8a (diff) | |
download | external_llvm-8b3fc692a759db39344f2d84cb1a65730305363c.zip external_llvm-8b3fc692a759db39344f2d84cb1a65730305363c.tar.gz external_llvm-8b3fc692a759db39344f2d84cb1a65730305363c.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61876 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/InlineAlways.cpp')
0 files changed, 0 insertions, 0 deletions