aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ThreadPool.cpp
diff options
context:
space:
mode:
authorEvgeniy Brevnov <evgueni.brevnov@gmail.com>2020-01-16 15:17:43 +0700
committerEvgeniy Brevnov <evgueni.brevnov@gmail.com>2020-02-14 12:18:31 +0700
commit5573abceab5eb9c6964b7249eae21f80a88ebf2e (patch)
tree76ee6d52a521a921fb1d098dce38fe97b205753b /llvm/lib/Support/ThreadPool.cpp
parent105a270028abb7a0237dd2af3ddba07471d8c49d (diff)
downloadllvm-5573abceab5eb9c6964b7249eae21f80a88ebf2e.zip
llvm-5573abceab5eb9c6964b7249eae21f80a88ebf2e.tar.gz
llvm-5573abceab5eb9c6964b7249eae21f80a88ebf2e.tar.bz2
[DependenceAnalysis] Dependecies for loads marked with "ivnariant.load" should not be shared with general accesses(PR42151).
Summary: This is second attempt to fix the problem with incorrect dependencies reported in presence of invariant load. Initial fix (https://reviews.llvm.org/D64405) was reverted due to a regression reported in https://reviews.llvm.org/D70516. The original fix changed caching behavior for invariant loads. Namely such loads are not put into the second level cache (NonLocalDepInfo). The problem with that fix is the first level cache (CachedNonLocalPointerInfo) still works as if invariant loads were in the second level cache. The solution is in addition to not putting dependence results into the second level cache avoid putting info about invariant loads into the first level cache as well. Reviewers: jdoerfert, reames, hfinkel, efriedma Reviewed By: jdoerfert Subscribers: DaniilSuchkov, hiraditya, bmahjour, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73027
Diffstat (limited to 'llvm/lib/Support/ThreadPool.cpp')
0 files changed, 0 insertions, 0 deletions