aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-06-25 21:35:41 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-08-25 21:34:34 +0200
commit3a54b6a4b71c21cf3bab4f132cbc2904fb9d997e (patch)
tree3f26f61e83430eeddb572824bee062a10f9b201c /clang/lib/Lex/ModuleMap.cpp
parent84fdc33f4785115cd517c789a99fdebb6a74ac3e (diff)
downloadllvm-3a54b6a4b71c21cf3bab4f132cbc2904fb9d997e.zip
llvm-3a54b6a4b71c21cf3bab4f132cbc2904fb9d997e.tar.gz
llvm-3a54b6a4b71c21cf3bab4f132cbc2904fb9d997e.tar.bz2
[MemDep] Use BatchAA when computing pointer dependencies
We're not changing IR while running a single MemDep query, so it's safe to cache alias analysis results using BatchAA. This adds BatchAA usage to getSimplePointerDependencyFrom(), which is non-intrusive -- covering larger parts (like a whole processNonLocalLoad query) is also possible, but requires threading BatchAA through a bunch of APIs. For the ThinLTO configuration, this is a 1% geomean improvement on CTMark. Differential Revision: https://reviews.llvm.org/D85583
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions