aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2020-05-09 23:29:43 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2020-05-10 19:06:11 -0500
commit713ee3aa77d938b1cb8d3a85968bc5dbe661aafc (patch)
tree7bf2973e8b624c1c5054012cbcb361999c9867be /clang/lib/Frontend/CompilerInvocation.cpp
parent513ac6e9b045dd2d5e0d1a5e221380cfb999676a (diff)
downloadllvm-713ee3aa77d938b1cb8d3a85968bc5dbe661aafc.zip
llvm-713ee3aa77d938b1cb8d3a85968bc5dbe661aafc.tar.gz
llvm-713ee3aa77d938b1cb8d3a85968bc5dbe661aafc.tar.bz2
[Attributor] Use "simplify to constant" in genericValueTraversal
As we replace values with constants interprocedurally, we also need to do this "look-through" step during the generic value traversal or we would derive properties from replaced values. While this is often not problematic, it is when we use the "kind" of a value for reasoning, e.g., accesses to arguments allow `argmemonly`.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions