[PATCH] D73032: [DependenceAnalysis] Memory dependence analysis internal caching mechanism is broken in presence of TBAA (PR42733).
Denis Antrushin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 22 04:52:50 PST 2020
dantrushin added a comment.
Please excuse me for hijacking the review, but what is _exact_ meaning of BBSkipFirstBlockPair?
(I asked on llvm-dev@, but got no answer). Does it marks BB where query starts? Or first block where we've found something relevant? Anything else?
================
Comment at: llvm/lib/Analysis/MemoryDependenceAnalysis.cpp:1173
+ // incomplete, the result will be valid cache info, otherwise it isn't.
+ if (!IsIncomplete && Cache->empty())
CacheInfo->Pair = BBSkipFirstBlockPair(StartBB, SkipFirstBlock);
----------------
This is confusing. How can empty cache be incomplete? Can valid cache be incomplete? Invalid cache?
Also, can we make it part of cache API, not external entity?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73032/new/
https://reviews.llvm.org/D73032
More information about the llvm-commits
mailing list