aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2020-05-09 12:48:29 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2020-05-10 19:06:11 -0500
commit5e06b2514aed37e49224c7086468bd4fa5080086 (patch)
tree1f8cbc62d1d2d823121b0bb26e89cb9c4fb9f015 /clang/lib/Frontend/CompilerInvocation.cpp
parent713ee3aa77d938b1cb8d3a85968bc5dbe661aafc (diff)
downloadllvm-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