diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-12 15:41:22 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-12 21:42:36 +0100 |
commit | 191e469edee619f578076d775ce1ca19c9ecc103 (patch) | |
tree | ffd2ab8020ab2c56b0b397527dfd489adbdfc5aa /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | c96e214b9ca7739737cf257baf32ff819854027d (diff) | |
download | llvm-191e469edee619f578076d775ce1ca19c9ecc103.zip llvm-191e469edee619f578076d775ce1ca19c9ecc103.tar.gz llvm-191e469edee619f578076d775ce1ca19c9ecc103.tar.bz2 |
[AA] Move Depth member from AAResults to AAQI (NFC)
Rather than storing the query depth in AAResults, store it in AAQI.
This makes more sense, as it is a property of the query. This
sidesteps the issue of D94363, fixing slightly inaccurate AA
statistics. Additionally, I plan to use the Depth from BasicAA in
the future, where fetching it from AAResults would be unreliable.
This change is not quite as straightforward as it seems, because
we need to preserve the depth when creating a new AAQI for recursive
queries across phis. I'm adding a new method for this, as we may
need to preserve additional information here in the future.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions