diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-05-09 23:29:43 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-05-10 19:06:11 -0500 |
commit | 713ee3aa77d938b1cb8d3a85968bc5dbe661aafc (patch) | |
tree | 7bf2973e8b624c1c5054012cbcb361999c9867be /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 513ac6e9b045dd2d5e0d1a5e221380cfb999676a (diff) | |
download | llvm-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