aboutsummaryrefslogtreecommitdiff
path: root/llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
diff options
context:
space:
mode:
authorDaniil Suchkov <suc-daniil@yandex.ru>2020-01-20 12:27:46 +0700
committerDaniil Suchkov <suc-daniil@yandex.ru>2020-01-22 13:16:45 +0700
commit7bdc83f34016bb0288f7af6fffa244bfeb285d04 (patch)
tree993d530d6b6fd140f0bab36dd159452b52797ab1 /llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
parentb54aa053d3aeeab0cdaecb6286419138b7da5ef4 (diff)
downloadllvm-7bdc83f34016bb0288f7af6fffa244bfeb285d04.zip
llvm-7bdc83f34016bb0288f7af6fffa244bfeb285d04.tar.gz
llvm-7bdc83f34016bb0288f7af6fffa244bfeb285d04.tar.bz2
[LICM] Don't cache AliasSetTrackers when run under legacy PM
Summary: This is the first step towards complete removal of AST caching from LICM. Attempts to keep LICM's AST cache up to date across passes can lead to miscompiles like this one: https://bugs.llvm.org/show_bug.cgi?id=44320. LICM has already switched to using MemorySSA to do sinking and hoisting and only builds an AliasSetTracker on demand for the promoteToScalars step, without caching it from one LICM instance to the next. Given this, we don't have compile-time reasons to keep AST caching any more. The only scenario where the caching would be used currently is when using the LegacyPassManager and setting -enable-mssa-loop-dependency=false. This switch should help us to surface any possible issues that may arise along this way, also it turns subsequent removal of AST caching into NFC. Reviewers: asbirlea, fhahn, efriedma, reames Reviewed By: asbirlea Subscribers: hiraditya, george.burgess.iv, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73081
Diffstat (limited to 'llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp')
0 files changed, 0 insertions, 0 deletions