diff options
author | Vaivaswatha Nagaraj <vn@compilertree.com> | 2016-01-14 08:46:45 +0000 |
---|---|---|
committer | Vaivaswatha Nagaraj <vn@compilertree.com> | 2016-01-14 08:46:45 +0000 |
commit | 68befd70942e981174ceec725745fa2d5bce973d (patch) | |
tree | 3becf340d7823e9ea1c5e297c402fbb69fbef889 /llvm/lib/IR/Module.cpp | |
parent | fc96331d8801b16417a6eea38d89566efb998263 (diff) | |
download | llvm-68befd70942e981174ceec725745fa2d5bce973d.zip llvm-68befd70942e981174ceec725745fa2d5bce973d.tar.gz llvm-68befd70942e981174ceec725745fa2d5bce973d.tar.bz2 |
[GlobalsAA] Relax condition in checking globals as args to functions
Summary:
Since globals may escape as function arguments (even when they have been
found to be non-escaping, because of optimizations such as memcpyoptimizer
that replaces stores with memcpy), all arguments to a function are checked
during query to make sure they are identifiable. At that time, also ensure
we return a conservative result only if the arguments don't alias to our global.
Reviewers: hfinkel, jmolloy
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D16140
llvm-svn: 257750
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions