aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-02-12 15:41:22 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-02-12 21:42:36 +0100
commit191e469edee619f578076d775ce1ca19c9ecc103 (patch)
treeffd2ab8020ab2c56b0b397527dfd489adbdfc5aa /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentc96e214b9ca7739737cf257baf32ff819854027d (diff)
downloadllvm-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