diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-05-11 12:22:41 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-05-11 15:32:47 -0500 |
commit | c115a78f0d2ac59b6f53634fd057f45211e04a96 (patch) | |
tree | 725660eeed82dc5d620c2cc81fb29b30255d6795 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c86fd3333dd4d29b302c93eb1dd7b5a149109904 (diff) | |
download | llvm-c115a78f0d2ac59b6f53634fd057f45211e04a96.zip llvm-c115a78f0d2ac59b6f53634fd057f45211e04a96.tar.gz llvm-c115a78f0d2ac59b6f53634fd057f45211e04a96.tar.bz2 |
[Attributor] Make AAIsDead dependences optional to prevent top state
We should never give up on AAIsDead as it guards other AAs from
unreachable code (in which SSA properties are meaningless). We did
however use required dependences on some queries in AAIsDead which
caused us to invalidate AAIsDead if the queried AA got invalidated.
We now use optional dependences instead. The bug that exposed this is
added to the liveness.ll test and other test changes show the impact.
Bug report by @sdmitriev.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions