diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2020-07-04 20:04:28 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2020-07-04 21:06:36 +0300 |
commit | 11a3f040c71020b0247144268570d571858b119c (patch) | |
tree | a76fab99c72109a1b2a159121954ea73f3358fac /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 45b5c79a31d05edb179efeda9305e6c42be4f818 (diff) | |
download | llvm-11a3f040c71020b0247144268570d571858b119c.zip llvm-11a3f040c71020b0247144268570d571858b119c.tar.gz llvm-11a3f040c71020b0247144268570d571858b119c.tar.bz2 |
[Utils] Make -assume-builder/-assume-simplify actually work on Old-PM
clang w/ old-pm currently would simply crash
when -mllvm -enable-knowledge-retention=true is specified.
Clearly, these two passes had no Old-PM test coverage,
which would have shown the problem - not requiring AssumptionCacheTracker,
but then trying to always get it.
Also, why try to get domtree only if it's cached,
but at the same time marking it as required?
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions