diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-05-09 12:48:29 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-05-10 19:06:11 -0500 |
commit | 5e06b2514aed37e49224c7086468bd4fa5080086 (patch) | |
tree | 1f8cbc62d1d2d823121b0bb26e89cb9c4fb9f015 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 713ee3aa77d938b1cb8d3a85968bc5dbe661aafc (diff) | |
download | llvm-5e06b2514aed37e49224c7086468bd4fa5080086.zip llvm-5e06b2514aed37e49224c7086468bd4fa5080086.tar.gz llvm-5e06b2514aed37e49224c7086468bd4fa5080086.tar.bz2 |
[Attributor][FIX] Carefully handle/ignore/forget `argmemonly`
When we have an existing `argmemonly` or `inaccessiblememorargmemonly`
we used to "know" that information. However, interprocedural constant
propagation can invalidate these attributes. We now ignore and remove
these attributes for internal functions (which may be affected by IP
constant propagation), if we are deriving new attributes for the
function.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions